/** * @param string $table The name of the Table. * @param array $keys The keys of the row. * @param array $updates The hash attribute => value will be updated. * @param string $action Action of the method, either 'PUT'|'ADD'|'DELETE'. * @param array $options Additional options to the request argument. * @return static */ public function updateItemSelectedAction($table, array $keys, array $updates, $action, array $options = []) { list($name, $query_argument) = $this->db->getQueryBuilder()->updateItemSelectedAction($table, $keys, $updates, $action, $options); return $this->setCommand($name, $query_argument); }
/** * Get multiple items from table using keys. * * @param string $table The name of the table. * @param array $keys The keys of the row. This can be indexed array of * scalar value, indexed array of array of scalar value, indexed array of * associative array. * @param array $options Additional options to the request argument. * @return static * @see QueryBuilder::batchGetItem */ public function batchGetItem($table, array $keys, array $options = []) { list($name, $argument) = $this->db->getQueryBuilder()->batchGetItem($table, $keys, $options); return $this->setCommand($name, $argument); }