Represents a SQL query interface to a database
package |
Default |
---|
__construct()
call( $arg0, $arg1) : $this
string
callable
$this
callWithParams( $arg0, $arg1, $arg2, $arg3) : $this
The index of params and outputs are important for both arrays, for example when dealing with a prodecure that takes the first 2 arguments as input values and the 3 arg as an output then the arrays should be like:
params = [VALUE1, VALUE2, null] outputs = [null, null, "VARCHAR"]
string
array
array
callable
$this
query( $arg0, $arg1) : $this
string
callable
$this
querySingle( $arg0, $arg1) : $this
string
callable
$this
self
querySingleWithParams( $arg0, $arg1, $arg2) : $this
Only the first result from the result set is returned.
string
array
callable
$this
self
queryStream( $arg0, $arg1) : $this
string
callable
$this
queryStreamWithParams( $arg0, $arg1, $arg2) : $this
string
array
callable
$this
queryWithParams( $arg0, $arg1, $arg2) : $this
string
array
callable
$this
update( $arg0, $arg1) : $this
string
callable
$this
updateWithParams( $arg0, $arg1, $arg2) : $this
string
array
callable
$this