Re: [sqlalchemy] Using operators with multiple InstrumentedAttribute instances

2019-03-28 Thread Mike Bayer
On Thu, Mar 28, 2019 at 4:43 PM Ian Miller wrote: > > Hello all, > > I am in the process of trying to create a dynamic expression query engine in > an application I'm working on. > > So there is a formula that gets defined like so: > > formula = '"metric:123" + "metric:456" + "metric:789"' > >

[sqlalchemy] Using operators with multiple InstrumentedAttribute instances

2019-03-28 Thread Ian Miller
Hello all, I am in the process of trying to create a dynamic expression query engine in an application I'm working on. So there is a formula that gets defined like so: formula = '"metric:123" + "metric:456" + "metric:789"' Each metric maps to a column in the database tables - long story