Caqti_driver_libSourceInternal: Library for Drivers
linear_param_length templ is the number of linear parameters expected by a query represented by templ.
linear_param_order templ is a list where item number i is a list of positions of the linearized query which refer to the ith incoming parameter. Positions are zero-based.
linear_query_string templ is templ where "?" is substituted for parameters.