Thanks Michael for the detailed explanations and the patch. This is
really helping!
2008/4/26, Michael Bayer [EMAIL PROTECTED]:
On Apr 25, 2008, at 4:21 PM, Eric Lemoine wrote:
Module sqlalchemy.orm.mapper:1198 in _postfetch
elif not c.primary_key and c.key in params and
We're not intentionally sharing a session between multiple
threads... :) I'll check out the code to see if there is any sharing
going on, but I'm pretty sure that's not the case.
You mention lazy-loading as if it might be playing a part in this
issue - is that right? We are using lazy eager
On Sun, 27 Apr 2008 23:35:06 -0400
Kyle Schaffrick [EMAIL PROTECTED] wrote:
Since as I mentioned, this is kind of an interesting learning project
for me to learn some SA internals, I'd like my next step to be seeing
if I can write something that will make a callable/closure which, when
passed
Hi,
a table in a mssql db with a uniqueidentifier field as primary key and
an integer field as identity,i am able to insert a row into the table
but not update it
Can you send the code you're using, and the error you are getting? I think
this is an area we haven't particularly covered so far.
On Apr 28, 2008, at 4:04 AM, BruceC wrote:
We're not intentionally sharing a session between multiple
threads... :) I'll check out the code to see if there is any sharing
going on, but I'm pretty sure that's not the case.
You mention lazy-loading as if it might be playing a part in this
hi all,
i have developed one project on login page. i am unable to print the
dailouge on the page when user is given wronge password.. can anyone
help me... how to print the value on the web page
--~--~-~--~~~---~--~~
You received this message because you are
On Apr 25, 2008, at 10:36 AM, sniffer wrote:
inserted into an identity column.How do i make SA understand to leave
the autoincrement field value i.e. not to insert anything into it and
let the field take the default value set in the database.
any help will be great i need to turn in this
Hi there,
I've been playing with concrete inheritance a bit these days (trying
to implement it into Elixir). I've run into several problems, which
might be known limitations, but I'd like to know for sure or be shown
what I've done wrong...
The two problems I get involve a chain of classes
Hi all,
I'm trying to run a (non-ORM) query of the form:
SELECT job_id, pathname FROM jobfilesTable WHERE (job_id, pathname)
NOT IN (SELECT job_id, pathname FROM tempTable)
After searching the docs and the mailing list, the best I've been able
to come up with is something like:
from
On Apr 28, 2008, at 3:28 PM, Matthew Zwier wrote:
Hi all,
I'm trying to run a (non-ORM) query of the form:
SELECT job_id, pathname FROM jobfilesTable WHERE (job_id, pathname)
NOT IN (SELECT job_id, pathname FROM tempTable)
After searching the docs and the mailing list, the best I've
On Apr 28, 2008, at 4:34 AM, Kyle Schaffrick wrote:
I have taken a first stab at this to play with the idea and it seems
to
be doing the right thing, the patch also contains some very
rudimentary
tests in ShardTest that make it voom.
very nice !
The patch adds a .merge_ordering()
Thanks for the quick reply! I've always been quite impressed with the
quality of SA and its support.
I'm a bit swamped at work at the moment but I'll see about putting a
'CREATE TEMPORARY TABLE' patch together.
MZ
On Mon, Apr 28, 2008 at 4:09 PM, Michael Bayer [EMAIL PROTECTED] wrote:
On Apr 28, 2008, at 12:07 PM, Gaetan de Menten wrote:
pjoin = polymorphic_union({
'manager':managers_table,
'engineer':engineers_table,
'hacker':hackers_table
}, 'type', 'pjoin')
mapper(Company, companies, properties={
'engineers':relation(Engineer,
This could be expanded slightly to include 'prefixes=[]' support ala
select() and insert(). Sqlite could use that for creating full text
tables, e.g. 'CREATE VIRTUAL TABLE foo (...) USING ...'.
I haven't thought about this extensively but I think I'd prefer
prefixes=['TEMPORARY'] to a
On Apr 28, 2008, at 4:41 PM, jason kirtland wrote:
This could be expanded slightly to include 'prefixes=[]' support ala
select() and insert(). Sqlite could use that for creating full text
tables, e.g. 'CREATE VIRTUAL TABLE foo (...) USING ...'.
I haven't thought about this extensively
So, if I understand this right, I could import a base module that
does a lazy creation of the Base class with a metadata object and then
just use that base class everywhere I need it for the declarative
class definitions. Then at a later time (before I use the mapped
classes), I could go and
On Apr 28, 2008, at 5:42 PM, Allen Bierbaum wrote:
So, if I understand this right, I could import a base module that
does a lazy creation of the Base class with a metadata object and then
just use that base class everywhere I need it for the declarative
class definitions. Then at a later
On Mon, 28 Apr 2008 16:22:44 -0400
Michael Bayer [EMAIL PROTECTED] wrote:
so, lets name it _merge_ordering() to start so we have some future
leeway on the name.
Changes made.
Well, in fact the result.close() at the end there is not really
needed; when all result rows are exhausted,
18 matches
Mail list logo