prepare method
IStatement
prepare(
- IStatus status,
- ITransaction transaction,
- String sqlStmt, [
- int dialect = FbConsts.sqlDialectCurrent,
- int flags = 0,
Implementation
IStatement prepare(IStatus status, ITransaction transaction, String sqlStmt,
[int dialect = FbConsts.sqlDialectCurrent, int flags = 0]) {
final sqlUtf = sqlStmt.toNativeUtf8(allocator: mem);
try {
final res = _prepare(
self, status.self, transaction.self, 0, sqlUtf, dialect, flags);
status.checkStatus();
return IStatement(res);
} finally {
mem.free(sqlUtf);
}
}