one specifically designed
for the application.
How about: http://code.google.com/p/sqlautocode/ ?
Regards,
Tomasz Jezierski
Tefnet
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
they are?
Maybe try/finally will be enough for you? Something like
--program/thread begin--
try:
createsession
somestuff
finally:
session.flush()
--program/thread end--
---
Tomasz Jezierski
Tefnet
www.tefnet.pl
--~--~-~--~~~---~--~~
You
Dnia 2009-10-02, Pt o godzinie 21:22 -0700, 李白,字一日 pisze:
any code snippets?
thanks.
How to handle unique constraint exception?
http://www.sqlalchemy.org/trac/wiki/UsageRecipes/UniqueConstraintExceptionHandling
---
Tomasz Jezierski
Tefnet
www.tefnet.pl
/UsageRecipes/SessionAwareMapper
---
Tomasz Jezierski
Tefnet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from
-descriptors
but if you want to build SQL query for property not reflected in
database schema.. then it will be hard to do :)
Tomasz Jezierski
Tefnet
http://www.tefnet.pl
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Dnia 2009-08-28, Pt o godzinie 18:29 -0400, Michael Bayer pisze:
Tomasz Jezierski - Tefnet wrote:
---
sqlalchemy.exc.ArgumentError: Column 'PhysObject.locationId' is not
represented in mapper's table. Use the `column_property()` function to
force this column to be mapped as a read-only
=128, convert_unicode=False, assert_unicode=None),
table=TefObject, nullable=False)}}
---
Is that a correct behavior (not updating mapped_table after adding new
column to compiled mapper)?
Tomasz Jezierski
Tefnet
--~--~-~--~~~---~--~~
You received this message
Dnia 2009-08-24, Pn o godzinie 12:35 -0700, Kees van den Broek pisze:
Hi,
This is a table setup in declarative style:
class Category(DeclarativeBase):
__tablename__ = 'category'
category_id = Column(Integer, autoincrement=True,
primary_key=True)
name = Column(Unicode(255),
):
---
shouldn't _mapper_registry be an ordered dict or something?
Tomasz Jezierski
Tefnet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
of hierarchy, which shouldn't cause this issue.
e.g.
D - B - A
E - C - A
F - A
would yield
(A), (B, C, F), (D, E)
I've made a ticket with test case and patch
http://www.sqlalchemy.org/trac/ticket/1488
Tomasz Jezierski
Tefnet
10 matches
Mail list logo