Re: Errors with SqlSoup

Rui Coelho Justino <[email protected]> Mon, 28 Aug 2006 00:27:59 +0100
Newsgroups gmane.comp.python.spyce.general
Organization rs
Message-ID <[email protected]>
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.

rcj.

-------------------------------------------------------------------------
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

_______________________________________________
Spyce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spyce-users
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBE8iqMA6VieAGtk/YRAhGyAKCne9q0kTd7m8OXaxRn4KYxKujM9QCfQpT1
7cFF/EYltqzsBauHQv9Yqko=
=SBBk
-----END PGP SIGNATURE-----