02.12.2018, 16:25
Hey guys!
I have a specific include for database handling and I'm wondering if I should save each field (position, including x pos, z, y, a, interior, vw; maybe another method for the money, and so on) so I could re-use the code or if I should use one or two queries to do that.
Pros of factory:
- I can reuse code whenever I want
- Easy to read and mantain code
Cons:
- Too many queries?
I have a specific include for database handling and I'm wondering if I should save each field (position, including x pos, z, y, a, interior, vw; maybe another method for the money, and so on) so I could re-use the code or if I should use one or two queries to do that.
Pros of factory:
- I can reuse code whenever I want
- Easy to read and mantain code
Cons:
- Too many queries?