Re: [sqlalchemy] Re: There is any chance to SQLAlchemy works with syncio?

2015-09-23 Thread Johnny W. Santos
Nice Lele, thanks! On Sun, Sep 20, 2015 at 7:07 AM, Lele Gaifax wrote: > "Johnny W. Santos" writes: > > > Actually my interest in asyncio is guided pretty much because I'm using > > autobahn to do non-blocking websocket stuffs and and since it uses > asynci

Re: [sqlalchemy] Re: How to query for something like this?

2015-09-22 Thread Johnny W. Santos
Anyway thanks, it'll help a lot. -- 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 sqla

Re: [sqlalchemy] Re: How to query for something like this?

2015-09-22 Thread Johnny W. Santos
Yes, but I think this will be expensive to arrange it with python because I need to return everything at once. I though I could just group_by with some annotation, but I couldn't figure out how. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To

[sqlalchemy] How to query for something like this?

2015-09-22 Thread Johnny W. Santos
t due some filter conditions. class Vehicle(Base): id = Column(Integer, primary_key=True) identifier = Column(Integer) class HistoryPoint(Base): vehicle_id = Column(Integer, FokeignKey('vehicles.id')) location = Column(Geography('POINT')) vehicle = rela

Re: [sqlalchemy] There is any chance to SQLAlchemy works with syncio?

2015-09-16 Thread Johnny W. Santos
a look at your blog post for a matter of clarification and try to figure something out. Probably I'll show up here again soon. Thanks On Wed, Sep 16, 2015 at 11:37 AM, Mike Bayer wrote: > > > On 9/16/15 10:17 AM, Johnny W. Santos wrote: > > Hi guys, > > I would like

[sqlalchemy] There is any chance to SQLAlchemy works with syncio?

2015-09-16 Thread Johnny W. Santos
Hi guys, I would like to know if theres is any chances to SQLAlchemy support asyncio out of the box? Like the ORM and such. Thanks Johnny -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiv

[sqlalchemy] Auto generation of tables

2012-08-11 Thread Johnny Wezel
This could be sort of a FAQ. I skimmed this list but found nothing appropriate. I'm looking for a way to auto-generate translation (in the i18n sense) tables for translatable columns to avoid writing the boilerplate, like in (as probably everybody would do): class WhatNot(Base): ... class L

[sqlalchemy] Re: sqlalchemy introspection How?

2007-05-04 Thread johnny
> theres another extension called SqlSoup that does what I think youre > asking for. creates the classes on the fly for each table which it > also reflects on the fly. > > http://www.sqlalchemy.org/trac/wiki/SqlSoup This is what I need. I have one more question. Lets say I have a method that u

[sqlalchemy] Re: sqlalchemy introspection How?

2007-05-03 Thread johnny
I have used Propel, a PHP ORM. You just do this: $user = new User(); $user->setUserName('Ed') $user->setPassword('edspassword') --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this g

[sqlalchemy] Re: sqlalchemy introspection How?

2007-04-28 Thread johnny
What I was trying to get was, there isn't a python command line option, that will create Object Mapper Classes for the tables, so I can import them within my applications. I guess, I have to code these every time I need to use a certain table like this: metadata = BoundMetaData('dburi') user_ta

[sqlalchemy] Re: sqlalchemy introspection How?

2007-04-27 Thread johnny
Does this create a Object Mappers for those tables, so I can do the following: Lets say I have a table called "user" with columns "user_name" and "password". ed = User() ed.user_name = 'Ed' ed.password = 'edspassword' session.save(ed) ? --~--~-~--~~~---~--~~ Yo

[sqlalchemy] sqlalchemy introspection How?

2007-04-27 Thread johnny
I have tables created using another orm. I just want to know, how I can create sqlalchemy classes based on the tables, that are already there in the database? Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou