/** * Insert a table row with the given data * * @param string $table * @param array $bind * * @return int The number of affected rows */ public function insert($table, array $bind) { $this->requireTable($table); return $this->ds->insert($this->prependTablePrefix($table), $this->requireStatementColumns($table, $bind)); }