Lukasz Szybalski schrieb:
I think I prefer info dictionary rather then a string. Dict info
which I use already have something like this:
sqlalchemy.Column('DRIVE_TRAIN', sqlalchemy.Unicode(4)
,info={description:DRIVE TRAIN TYPE [AWD,4WD,FWD,RWD]}),
sqlalchemy.Column('FUEL_SYS',
Hi all,
A very good day to all of you. Currently, i am working on data
warehouse.
I am using MS SQL. I have done quite a big of research online
recentlhy.
However, all i could find are defination of data warehouse and
designing of data warehouse.
I had both fact and dimension tables ready, but
On Thu, Jun 5, 2008 at 2:37 AM, Christoph Zwerschke [EMAIL PROTECTED] wrote:
Lukasz Szybalski schrieb:
I think I prefer info dictionary rather then a string. Dict info
which I use already have something like this:
sqlalchemy.Column('DRIVE_TRAIN', sqlalchemy.Unicode(4)
I just noticed the tarballs on SF and pypi are different.
The one on SF:
MD5 (SQLAlchemy-0.4.6.tar.gz) = 3043efb59000887ebe13fdcd6b6efadb
SIZE (SQLAlchemy-0.4.6.tar.gz) = 1311544
The one on PYPI:
MD5 (SQLAlchemy-0.4.6.tar.gz) = 3d1e737bb408de25b2fadb19a736b40e
SIZE (SQLAlchemy-0.4.6.tar.gz) =
this mapping:
transaction_sale_join = join(transactions, sales)
mapper(Sale, transaction_sale_join, inherits=transactions_mapper,
polymorphic_identity=3, properties={
'line_items': relation(LineItem, backref='sale', cascade='all,
delete-orphan')
})
is incorrect. The
On Jun 5, 2008, at 10:13 AM, Dryice Liu wrote:
I just noticed the tarballs on SF and pypi are different.
The one on SF:
MD5 (SQLAlchemy-0.4.6.tar.gz) = 3043efb59000887ebe13fdcd6b6efadb
SIZE (SQLAlchemy-0.4.6.tar.gz) = 1311544
The one on PYPI:
MD5 (SQLAlchemy-0.4.6.tar.gz) =
Hi,
I have two tables: Image and PersistentImage, where the latter
inherits the former. In addition, PersistentImage has a foreign key to
itself (ie, all PersistentImage objects form a hierarchy among
themselves). I haven't been able to get this to work - first it
complained about wanting a
Thank you very much. again.
-brad
On Jun 5, 10:57 am, Michael Bayer [EMAIL PROTECTED] wrote:
this mapping:
transaction_sale_join = join(transactions, sales)
mapper(Sale, transaction_sale_join, inherits=transactions_mapper,
polymorphic_identity=3, properties={
On Jun 5, 2008, at 11:18 AM, Tomer wrote:
Hi,
I have two tables: Image and PersistentImage, where the latter
inherits the former. In addition, PersistentImage has a foreign key to
itself (ie, all PersistentImage objects form a hierarchy among
themselves). I haven't been able to get this
Worked like magic!! Thanks!
BTW, why wasn't SQLA able to determine this automatically like it
usually does?
On Jun 5, 11:30 am, Michael Bayer [EMAIL PROTECTED] wrote:
On Jun 5, 2008, at 11:18 AM, Tomer wrote:
Hi,
I have two tables: Image and PersistentImage, where the latter
On Jun 5, 2008, at 11:42 AM, Tomer wrote:
Worked like magic!! Thanks!
BTW, why wasn't SQLA able to determine this automatically like it
usually does?
when you join PersistentImage-PersistentImage, theres two ways to
join on foreign keys between those (remember that a PersistentImage is
Right, I missed that part.
Thanks for the explanation...
On Jun 5, 12:02 pm, Michael Bayer [EMAIL PROTECTED] wrote:
On Jun 5, 2008, at 11:42 AM, Tomer wrote:
Worked like magic!! Thanks!
BTW, why wasn't SQLA able to determine this automatically like it
usually does?
when you join
Hi,
we're writing a bulleting board using sqlalchemy at the moment, but we
have the problem, that the database query for viewing a topic is quite
slow for big topics.
These are the relevant table definitions and mappings:
http://paste.pocoo.org/show/62703/
This is the query that is slow:
for starters I'd combine post_table and post_text_table into
onenot much is accomplished there by having two tables. Also make
sure forum_post.topic_id is indexed.
On Jun 5, 2008, at 1:37 PM, beewee wrote:
Hi,
we're writing a bulleting board using sqlalchemy at the moment, but we
I am having some database problems (attached below), any recommendations
to either recover from or fix these from happening?
I am not sure why it would work OK at first, and then at some point run
bad... Any recommendations on a technique to debug this would be much
appreciated.
Full source code
[EMAIL PROTECTED] writes:
see dbcook.misc.metadata.diff.py as an attempt to do this over 2
metadata's.
svn co
https://dbcook.svn.sourceforge.net/svnroot/dbcook/trunk/dbcook/misc/metadata
It works pretty well. How about a small cleanup to make it truly
general an a promotion to a package
Michael Bayer [EMAIL PROTECTED] wrote:
On Jun 5, 2008, at 10:13 AM, Dryice Liu wrote:
I just noticed the tarballs on SF and pypi are different.
The one on SF:
MD5 (SQLAlchemy-0.4.6.tar.gz) = 3043efb59000887ebe13fdcd6b6efadb
SIZE (SQLAlchemy-0.4.6.tar.gz) = 1311544
The one on PYPI:
17 matches
Mail list logo