Project

General

Profile

Feature #4023

Updated by Carsten Rose over 4 years ago

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

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

 sqlInsert = {{INSERT INSERT INTO Person (name, firstName) VALUES (?,?)}} (?,?) 
 sqlInsertVars = {{name:F:allbut}}, {{firstName:F:allbut}} 
 </pre> 
 * The ...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