prepareMultiple abstract method

List<CommonPreparedStatement> prepareMultiple(
  1. String sql, {
  2. bool persistent = false,
  3. bool vtab = true,
})

Compiles multiple statements from sql to be executed later.

Unlike prepare, which can only compile a single statement, prepareMultiple will return multiple statements if the source sql string contains more than one statement. For example, calling prepareMultiple with SELECT 1; SELECT 2; will return 2 prepared statements.

For the persistent and vtab parameters, see prepare.

Implementation

List<CommonPreparedStatement> prepareMultiple(String sql,
    {bool persistent = false, bool vtab = true});