2008年12月31日星期三

Re: [fw-db] index by primary key?

Hi Joachim,

personally, I'd like to see this feature. I see at least one problem,
however: It is possible that primary keys consist of more than one
table column, and I see no way how we could generate a PK -> row array
for these. Can one of our database gurus assist?

Wishing you a happy new year,
Tobias

2008/12/17 Joachim Lous <joachim@lous.org>:
> The various fetch-modes and -functions provide many useful formats
> for representing rowsets, but none of them display this desirable feature:
> Return an associative array of rows (in whatever row format), where the
> array key for each row is the row's primary key in string format.
>
> The thought seems pretty obvious; Is there any particular reason why this is
> a bad idea?
>

没有评论: