Michael, Thank you for doubling the FAQ here. I didn't expect I would
miss something, that can be found via RTFM ...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send
I would like to read data from aa Excel-sheet
to this goal I have created a mapper using:
from sqlalchemy.ext.sqlsoup import class_for_table
columns = construct_columns_from_excel
table = Table(self.tblname, self.metadata, *columns)
..
mapper = sqlalchemy.ext.sqlsoup(table)
now I would like
On 12/16/06, robert rottermann [EMAIL PROTECTED] wrote:
now I would like to do something like:
data = readExcelsheet(xx)
for newRec in data:
for fname, fvalue in newRec.items():
mapper.c[fname] = fvalue
session.save(mapper)
session.flush()
Each time through the loop, you're
Ο/Η flyingfrog έγραψε:
Ok, this is my first approach with python + ORM, and i must say i can't
do what i want with it... Before that i used java Hibernate, think you
should know about.
Python fails in this discipline mainly due to:
* the lack of collaboration between projects (mainly
Ο/Η metaperl έγραψε:
TurboEntity was quite sweet. Supposedly a complete rewrite as a new
product is on its way though.
the first major problem of this rewrite:
it happens 'silently' (non-public)
.
--
http://case.lazaridis.com/wiki/Persist
On 12/16/06, robert rottermann [EMAIL PROTECTED] wrote:
more ideas ?
robert
I've run out of ideas.
It might be better to show us snippets from the real code, rather than
the pseudocode. As it is, we're just guessing about what your code
looks like. And if the pseudocode you showed doesn't
edit setup.cfg to say:
[egg_info]
tag_build = dev
tag_svn_revision = true
--~--~-~--~~~---~--~~
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
the error message indicates that there is more than one Session in
play. a big reason for this is that people have import
sqlalchemy.ext.threadlocal lying around when they dont really want
that.
--~--~-~--~~~---~--~~
You received this message because you are
django was not available to the public until it was fully functional
(youd go to the site and just get a coming soon-style splash
page)..and even then it was already in production use in earlier forms.
they knew that if you release something that wasnt polished and would
lead to user
SQLAlchemy lets you define separately DB code and python classes, but
then you hve a real duplication.
Duplication is bad, but you're never forced to duplicate
anything.Pythonoffers all the tools you need to prevent duplication,
and SA offers whatever
you need to 'extract' metadata from
On 12/16/06, Michael Bayer [EMAIL PROTECTED] wrote:
django was not available to the public until it was fully functional
(youd go to the site and just get a coming soon-style splash
page)..and even then it was already in production use in earlier forms.
they knew that if you release
yeah i know about the trollish reputation. the post that started this
thread was more or less a troll as well IMHO but everyone seems to be
responding to it anyway. but django's initial release strategy is on
my mind regardless...i have something else im hopefully releasing soon
but im
12 matches
Mail list logo