prepare statement
params parameters can be a list or a map,
if you use placeholderIdentifier is PlaceholderIdentifier.pgDefault or PlaceholderIdentifier.onlyQuestionMark
it has to be a List, if different it has to be a Map
return Query prepared with statementName for execute with (executeStatement) method
Example:
var statement = await prepareStatement('SELECT * FROM table LIMIT $1', 0);
var result await executeStatement(statement);
execute a prepared unnamed statement
params parameters can be a list or a map,
if you use placeholderIdentifier is PlaceholderIdentifier.pgDefault or PlaceholderIdentifier.onlyQuestionMark
it has to be a List, if different it has to be a Map
return Query prepared with statementName for execute with (executeStatement) method
Example: com.queryUnnamed(r'select * from crud_teste.pessoas limit $1', 1);