Welcome Guest, Not a member yet? Register   Sign In
Running a same query multiple times?
#6

(This post was last modified: 09-12-2018, 08:35 PM by kaitenz.)

Another question guys.

I want to create a query that will select ALL the rows from a database table and put/cache the result to an array property (<- is this correct?).
Then when I need a specific row, instead of running the query, I'll just pull it out from that array (the keys would be the rowId).

Is this OK?  Huh

Let's say I have 2,000+ rows in my table. Is it bad to put all 2,000+ rows in a single variable/property?
Reply


Messages In This Thread
Running a same query multiple times? - by kaitenz - 09-10-2018, 10:47 PM
RE: Running a same query multiple times? - by kaitenz - 09-12-2018, 08:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB