Question about fetching only the rows of a table which has a concrete value in a concrete field u
Posted
by user248959
on Stack Overflow
See other posts from Stack Overflow
or by user248959
Published on 2010-03-11T17:30:31Z
Indexed on
2010/03/11
17:34 UTC
Read the original article
Hit count: 295
Hi,
is there anyway to fetch only the rows of a table which has a concrete value in a concrete field.
For example:
$24_people = $table->getFieldAndValue('age', 24);
I now i can do it with a query, but wouldn't you find useful this kind of functions? or maybe is no possible or is not convenient because some reason ?
Regards
Javi
© Stack Overflow or respective owner