a database call wich gets unlimited entries (can be 10 or 10.000), like this:
SELECT * FROM boo WHERE id = %d AND (approved = '1' OR (user = %d AND approved = '0'))2 database calls, one which gets exactly 10 entries, and another one which gets a single entry:
SELECT * FROM boo WHERE id = %d AND approved = '1' LIMIT 10SELECT * FROM boo WHERE user = %d AND approved = '0'
note that I can't make my own db query. I can only use a set of functions that do the queries above...
which option is more efficient / faster?