method selectAllByKeys documentation in bbn\Db\EnginesApi

Return an array indexed on the first field of the request.

The value will be an array if the request has more than two fields. Return the same value as "get_key_val".

function($table, array $fields = [], array $where = [], array $order = [], int $limit = 0, int $start = 0) { /** * Return an array with the count of values corresponding to the where conditions. * * @param string|array $table The table's name or a configuration array. * @param string $column The field's name. * @param array $where The "where" condition. * @param array $order The "order" condition. * @return null|array */ public function stat(string $table, string $column, array $where = [], array $order = []): ?array; /** * Inserts/Updates rows in the a given table * * @param $table * @param array|null $values * @param bool $ignore * @return int */ public function insert($table, array $values = null, bool $ignore = false): ?int; /** * Inserts/Updates rows in the a given table * * @return int */ public function insertUpdate($table, array $values = null): ?int; /** * 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; /** * Deletes rows in the a given table * * @return int */ }

Return an array indexed on the first field of the request. 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.