[development] Is "SELECT * FROM ..." ok?

Steve Ringwood nevets at tds.net
Fri Feb 13 05:25:14 UTC 2009


I would say "SELECT * FROM ..." is not a bug.

While it wise to consider selecting only a set of fields
if that is all that is needed, there are times when one
wants all the fields in the table.  This is particularly  true
when building an object/array from data in the database
where on row represents all or part of the object/array.
A good example are node objects where as developers
we expect it to completely represent the node.

Nevets



More information about the development mailing list