Re: [sqlalchemy] making a relationship on a column operation

2017-08-22 Thread Jonathan Vanasco
and thank you x 100 -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received

Re: [sqlalchemy] making a relationship on a column operation

2017-08-22 Thread Jonathan Vanasco
On Tuesday, August 22, 2017 at 2:16:42 PM UTC-4, Mike Bayer wrote: > you're looking for: > > > http://docs.sqlalchemy.org/en/latest/orm/join_conditions.html#using-custom-operators-in-join-conditions > > > I swear I searched first and spent an hour trying to figure this out. And then

Re: [sqlalchemy] making a relationship on a column operation

2017-08-22 Thread Mike Bayer
On Tue, Aug 22, 2017 at 12:19 PM, Jonathan Vanasco wrote: > I can't seem to figure out how to transition a query for the Ip > Blocks/ranges than a given IP address exists in, from a generic query into a > relationship. i keep getting foreign key errors, not matter what