Welcome Guest, Not a member yet? Register   Sign In
loading sql results
#1

[eluser]bhbutter123[/eluser]
My question is this: what is the standard method for retrieving data from a database, say you only need 1 row of data from the database...should you just have all of your reads go through one generic function in the model then do your manipulating from within the retrieved array or should you make a seperate model function that just selects that one row? What is the standard for CRUD, do you just have one creat, one read, one update and one delete for each database table?
Thanks




Theme © iAndrew 2016 - Forum software by © MyBB