primary('col-primary', ColumnTypes::INT, autoInc: true) ->column('col-one', ColumnTypes::BOOL) ->column('col-two', ColumnTypes::STRING) ->create(); $batches = [ [ ['col-one', true], ['col-two', 'EXPLODING!!!'] ], [ ['col-one', false], ['col-two', 'EXPLODING!!!'] ], ]; $batchInsert = Database::makeInsertion($table); foreach($batches as $batch) { foreach($batch as $col => $value) $batchInsert->data($col, $value); $batchInsert->done(); } $batchInsert->insert(); $results = Database::makeQuery($table) ->select('col-primary', 'col-one') ->where('col-one', '=', true) ->query(); } catch ( Exception $e ) { echo $e->getMessage(); }