method insertUpdate documentation in bbn\Db\Api

Inserts/Updates rows in the a given table

function($table, array $values = NULL) { /** * Updates rows in the a given table * * @param array|string $table * @param array|null $values * @param array|null $where * @param bool $ignore * @return int */ public function update($table, array $values = null, array $where = null, bool $ignore = false): ?int; /** * Updates rows in the a given table * * @param array|string $table * @param array|null $values * @param array|null $where * @return int */ public function updateIgnore($table, array $values = null, array $where = null): ?int; /** * Deletes rows in the a given table * * @return int */ public function delete($table, array $where, bool $ignore = false): ?int; /** * Deletes rows in the a given table * * @return int */ public function deleteIgnore($table, array $where): ?int; /** * Inserts ignore rows in the a given table * * @return int */ public function insertIgnore($table, array $values): ?int; /** * Fetches a given table and returns an array of a single row text-indexed * * @params * @return false|array }

Inserts/Updates rows in the a given table BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.