[odb-users] Multiple PKs

Boris Kolpackov boris at codesynthesis.com
Wed Mar 18 08:48:17 EDT 2015


Hi Nicholas,

Nicholas Cremonesi <nicholas.cremonesi at gmail.com> writes:

> is it possible to define multiple primary keys in a table with ODB?

There is by definition can only be one primary key in any table. What
you are maybe after is a composite (multi-column) primary key? If so,
then the answer is, as always, in the documentation, specifically,
Section 7.2.1, "Composite Object Ids".

Boris



More information about the odb-users mailing list