Project

General

Profile

Feature #4023

Updated by Carsten Rose almost 2 years ago

For every sql query, add a new element 'Arg'. 'Vars'. Eg.: 

 <pre> 
 slaveId = {{SELECT id FROM Person WHERE id=?}} 
 slaveIdArg slaveIdVars = {{id}} 

 sqlInsert = {{INSERT INTO Person (name, firstName) VALUES (?,?)}} 
 sqlInsertArg sqlInsertVars = {{name:F:allbut}}, {{firstName:F:allbut}} 
 </pre> 
 * The ...Arg ...Vars definition should not be fired directly. Instead search for all (non wrapped) ',' , split, replace every by it's onw, build array with the values, fire the prepared statement.

Back