Re: [sqlalchemy] Re: what is the way to achieve automatic conversion on each query?

2015-07-26 Thread Mike Bayer
On 7/26/15 4:39 PM, Jinghui Niu wrote: Thanks Mike, I've read the documentation on both, hybrid attributes seem to be easier and have a clearer logic in this use case. Although this is just my gut feeling as a layman. What is the rationale behind having two competing solutions? Also, I

Re: [sqlalchemy] Re: what is the way to achieve automatic conversion on each query?

2015-07-26 Thread Jinghui Niu
Thanks Mike, I've read the documentation on both, hybrid attributes seem to be easier and have a clearer logic in this use case. Although this is just my gut feeling as a layman. What is the rationale behind having two competing solutions? Also, I dimly remember someone recommended using