New question #146869 on New Real Time Battle:
https://answers.launchpad.net/nrtb/+question/146869

In dbAccess, there is a int dbAccess::sqlExecute (int type, string scrpt) 
method. The two arguments are the query type (insert, select, update, etc.) and 
the query itself. My question is should be forcing a scan of a select table on 
every query, or would  both the code and the interface be improved by using 
distinct methods for each? 

In other words, I believe it would may be better to provide distinct dbAccess 
methods for insert, update, exec and select; This is no more complex to use 
than using an enumerated query type selector and has the additional advantage 
of removing the select statement, improving performance on what are going to be 
very frequently called methods.

George, I am particularly looking for your opinions on this, although all 
members of ntrb-core are welcome to pipe in. This certainly will not be the 
last question of it's type we see!

-- 
You received this question notification because you are a member of NRTB
Core, which is an answer contact for New Real Time Battle.

_______________________________________________
Mailing list: https://launchpad.net/~nrtb-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to