[Solar-talk] Solar_Sql_Table
Kilbride, James P.
James.Kilbride at gd-ais.com
Thu Oct 4 08:03:26 CDT 2007
Okay, how can I get it without using Subversion?
James Kilbride
-----Original Message-----
From: solar-talk-bounces at lists.solarphp.com
[mailto:solar-talk-bounces at lists.solarphp.com] On Behalf Of Rodrigo
Moraes
Sent: Thursday, October 04, 2007 8:52 AM
To: solar-talk at lists.solarphp.com
Subject: Re: [Solar-talk] Solar_Sql_Table
On 10/4/07, Kilbride, James P. wrote:
> That's.... unfortunate.
>
> What's the time line for the release of the ORM branch?
I don't know. :(
But I am using it for development already. I guess I'm not very much
responsible, though, but I like it. :)
> Also, id.. Internally to sql_table it seems to be the assumed primary
> key. Am I missing something in the code of that? or does the sql_table
> class always assume there is a column called id which is the primary
> key/unique identifier for the table?
For some methods to work (fetch() I think, not sure if somewhere else),
it expects the column 'id' to be defined. However you can have a primary
key using a different column name, and you can have multiple primary
keys as well. For this, just fetch() differently extending fetch().
-- rodrigo
_______________________________________________
Solar-talk mailing list
Solar-talk at lists.solarphp.com
http://mailman-mail3.webfaction.com/listinfo/solar-talk
More information about the Solar-talk
mailing list