[Pharo-project] relational database and id field
Henrik Sperre Johansen
henrik.s.johansen at veloxit.no
Thu Apr 7 14:42:32 CEST 2011
On 07.04.2011 15:19, Alexandre Bergel wrote:
> Since there are some experts in databases here, I ask a general question about it.
> Assume that I have to use a relational database to store, let's stay instances of Stef's ComicBook class.
> Should the class ComicBook have a field id to uniquely identify a book?
IANAE, but my definitive answer would be... Maybe. :)
Depends on what other tables are in the database, their relationship
with the ComicBook table,which you intend to query often, what you
intend to query them for, etc.
More information about the Pharo-project