Method __builtin.Sql.Connection()->handle_extraargs()
- Method
handle_extraargs
protected
array
(string
|mapping
(string
|int
:mixed
)) handle_extraargs(string
query
,array
(mixed
)extraargs
)- Description
Handle sprintf-based quoted arguments
- Parameter
query
The query as sent to one of the query functions.
- Parameter
extraargs
The arguments following the query.
- Returns
Returns an array with two elements:
Array string
0
The query altered to use bindings-syntax.
mapping
(string
|int
:mixed
)1
A bindings mapping. Not present if no bindings were added.