[Solar-talk] Solar_Sql_Table

Rodrigo Moraes rodrigo.moraes at gmail.com
Thu Oct 4 07:52:23 CDT 2007


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


More information about the Solar-talk mailing list