Handling Fields and Binds for Query and SqlExpr

package salt\sql

 Methods

Return all binds

getBinds() : array<mixed,mixed[]>

Returns

array<mixed,mixed[]>list of binds : array of array('value' => ..., 'type' => ...)

Add a bind

addBind(mixed $value, integer $type) : string

Parameters

$value

mixed

value of bind

$type

integer

(FieldType) type of the field

Returns

stringthe bind name

 Properties

 

bind unique number

$bindNumber : integer

Default

0
Static
 

list of binds

$binds : array<mixed,mixed>

Default

array()
content
array of bindName => array(
					'value' => mixed // value of bind
					'type' => int FieldType // type of field
			)