Re: Errors with SqlSoup

"Jonathan Ellis" <[email protected]> Sun, 27 Aug 2006 17:01:59 -0700
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
On Mon, 28 Aug 2006 00:27:59 +0100, "Rui Coelho Justino"
<[email protected]> said:
> On Sunday 27 August 2006 23:16, Jonathan Ellis wrote:
> 
> > That just loads the table, though; it doesn't create a mapper for it,
> > like SqlSoup does.  To load it you don't need a primary key, but you do
> > if you want to map it.  An unmapped Table isn't very useful.
> >
> > -J
> 
> Hi Jonathan,
> 
> Are You saying that I don't have a PK? I have a primary key and also 2
> FK's in 
> this table.
> 
> I admit that I'm still getting accustomed to the SqlAlchemy, but from the 
> examples I saw in SqlSoup there is only one way of loading the table, and
> I 
> do have a PK in this table.

If you send me a CREATE TABLE statement that I can use to reproduce this
problem in a clean database I'd be happy to have a look.

(Also, what version of postgresql is this?)

-Jonathan
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642