hi all!

i was wondering if there is a way to create "fake" models, in which i can query the way I want and map methods the way i want.

let's say i have a common object that is made in pieces to the database (similar to the eav pattern), stored in multiple tables. now, backwards, i have to make a whole mess of code to bring the object with data again, but it works fine, so far.

what I really wanted was to use this class like a mapped model, using session.query, filters and stuff, abstracting its keys to other attributes and conditionals for the *real* table structure.

the problem is: can it be made?


thanks in advance,
richard.

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to