Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
ORM limiting fields that are returned in a query
  • I'm trying to learn the ORM package. From the documentation I understand that I can use find(PK) to get the whole row but I can't work out how to limit what fields I return. For instance, I have a password_hash field which I don't ever want returned from the DB, how would I achieve this?
  • At the moment, you can't. The ORM selects all columns by default.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion