package caqti
Module Caqti_driver_libSource
Internal: Library for Drivers
linear_param_length templ is the number of linear parameters expected by a query represented by templ.
linear_param_order templ describes the parameter bindings expected for templ after linearizing parameters and lifting quoted strings out of the query:
- The first is a list where item number
iis a list of linear parameter positions to which to bind theith incoming parameter.
- The second is a list of pairs where the first component is the position of the linear parameter taking the place of a quoted string, and the second component is the quoted string to bind to this parameter.
All positions are zero-based.
linear_query_string templ is templ where "?" is substituted for parameters and quoted strings.