Query.php
system/Database/Query.php
1 class
21 methods
class Query
Query builder
__construct
(ConnectionInterface $db)
setQuery
(string $sql, $binds = null, bool $setEscape = true)
void
(&$item)
setBinds
(array $binds, bool $setEscape = true)
void
(&$item)
getQuery
()
setDuration
(float $start, ?float $end = null)
getStartTime
(bool $returnRaw = false, int $decimals = 6)
getDuration
(int $decimals = 6)
setError
(int $code, string $error)
hasError
()
getErrorCode
()
getErrorMessage
()
isWriteType
()
swapPrefix
(string $orig, string $swap)
getOriginalQuery
()
compileBinds
()
matchNamedBinds
(string $sql, array $binds)
matchSimpleBinds
(string $sql, array $binds, int $bindCount, int $ml)
debugToolbarDisplay
()
__toString
()