$connection
$connection : \Omega\Database\Adapter\DatabaseAdapterInterface
Mysql query builder class.
This SqliteQueryBuilder
class provides methods to build and execute Sqlite queries. It extends
the abstract query builder class, implementing Sqlite-specific functionality. It is designed to
work with the SqliteAdapter for database connections.
$connection : \Omega\Database\Adapter\DatabaseAdapterInterface
select(mixed $columns = '*') : $this
Indicate the query type is a "select" and remember which fields should be returned by the query.
mixed | $columns | Holds the column name. |
if the columns is not a string or an arrya of string.
insert(string[] $columns, array $values) : int|bool
Insert a row of data into the table specified in the query and return the number of affected rows.
string[] | $columns | Holds an array of columns. |
array | $values | Holds an array of values. |
Return the number of affected rows.
update(string[] $columns, array $values) : int|bool
Insert a row of data into the table specified in the query and return the number of affected rows.
string[] | $columns | Holds an array of columns. |
array | $values | Holds an array of values. |
Return the number of affected rows.