On Mar 31, 2008, at 12:02 PM, pyplexed wrote:
The continuing adventures of a newbie SA user...
Could anyone tell me if there is a simple way of setting up a query
which takes an object as an argument and checks for the existence of
an object in the database?
by primary key ?
On Mon, Mar 31, 2008 at 4:57 PM, Rick Morrison [EMAIL PROTECTED] wrote:
You are correct:
Port=
fixes it.
If you guys could fix this in svn, and point me to some instructions
on how to install sqlalchemy in virtual / home directory that would be
great.
OK, great,
On Apr 1, 2008, at 2:09 AM, pyplexed wrote:
Actually, I would know the type, so maybe that makes it simpler.
I'm in a situation where I want to store data which is generated
externally to my system, and which is polled regularly but individual
items change relatively infrequently. It
or sqlalchemy connection string will have to provide some way to add a
driver name to connection string.
sqlalchemy.create_engine('mssql://user:[EMAIL PROTECTED]:1433/?driver=TDS')
That capability, with that very keyword, is in SVN trunk, part of the last
round of changes. BTW, this string
hi all,
first of all thanks for the replies to my last question,now i have a
different problem although not entirely different
i again have a two host model where the query objects from 1 host are
sent to the other host and added to the database there in.this works
fine with individual tables
On Apr 1, 2008, at 10:01 AM, sniffer wrote:
hi all,
first of all thanks for the replies to my last question,now i have a
different problem although not entirely different
i again have a two host model where the query objects from 1 host are
sent to the other host and added to the
On Tue, Apr 1, 2008 at 9:26 AM, Rick Morrison [EMAIL PROTECTED] wrote:
or sqlalchemy connection string will have to provide some way to add a
driver name to connection string.
sqlalchemy.create_engine('mssql://user:[EMAIL PROTECTED]:1433/?driver=TDS')
That capability, with that
On Tue, Apr 1, 2008 at 10:09 AM, Lukasz Szybalski [EMAIL PROTECTED] wrote:
On Tue, Apr 1, 2008 at 9:26 AM, Rick Morrison [EMAIL PROTECTED] wrote:
or sqlalchemy connection string will have to provide some way to add a
driver name to connection string.
Under:
http://www.sqlalchemy.org/docs/04/documentation.html#dbengine_establishing
snip changes
Thanks, I'll add these.
I guess my last question is how do I use sqlalchemy now? Is there a
release that is coming out soon that would include unixodbc support or
should I use svn? If I
im actually making a change to merge() that also might help you with
this particular issue. stay tuned for that.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send
This is really a question for the virtual-env list, not here, but
For your
python setup.py install
You must run this using the python executable from the new private
directory, not the system python executable.
Same thing when you run the python interpreter where you wish to do the
local
Hello,
I am trying to use sqlalchemy from svn.
I have checkout the code in /home/lucas/tmp/sqlalchemy
I installed python-virtualenv
I created my virtualenv
python /usr/lib/python2.4/site-packages/virtualenv.py ENV
I install sqlalchemy
export
Hi Lukasz,
Under:
http://www.sqlalchemy.org/docs/04/documentation.html#dbengine_establishing
after:
# oracle will feed host/port/SID into cx_oracle.makedsn
oracle_db = create_engine('oracle://scott:[EMAIL PROTECTED]:1521/sidname')
It's great to see you getting MSSQL to work on Unix. I know
Hi. I am using sqlalchemy with a database that has two tables that
each have foreign keys on the other.
The situation this is modeling is a tree where the levels alternate
between two different types of node. Each Node1 has a parent of type
Node2 (or null for the root) and each Node2 has a parent
On Apr 1, 2008, at 5:59 PM, Bobby Impollonia wrote:
This fails (as expected) because of the circular dependency. Before I
switched to declarative, I had solved this by using a
ForeignKeyConstraint with use_alter.
I can't see how to do that with declarative. I tried changing Node2
to:
Awesome, putting use_alter on one of the foreign keys fixed the problem.
Would it be hard to just assume that when there is a circular
dependency that one of the keys should be use_alter'ed? Is there
actually a case where that be the wrong thing to do (or any reason I
would care which of the
On Apr 1, 2008, at 7:25 PM, Bobby Impollonia wrote:
Awesome, putting use_alter on one of the foreign keys fixed the
problem.
Would it be hard to just assume that when there is a circular
dependency that one of the keys should be use_alter'ed? Is there
actually a case where that be the
I got my web app migrated to pylons 0.9.6.1 and sqlalchemy 0.4.4 with
the exception of a few calls.
As I included the code example in my first post, for some reason the
object does not want to obtain the id it was given when saved.
heading = Heading('Text')
heading.page
On Apr 1, 2008, at 8:19 PM, johnnyice wrote:
I got my web app migrated to pylons 0.9.6.1 and sqlalchemy 0.4.4 with
the exception of a few calls.
As I included the code example in my first post, for some reason the
object does not want to obtain the id it was given when saved.
19 matches
Mail list logo