Pike v8.1 release 6

Method Sql.null()->big_query()


Method big_query

variant Sql.Result big_query(string query)

Returns

Returns an array with a single element:

"query" : string

The query string before formating.

"bindings_query" : string

The query string before bindings having been inserted.

"formatted_query" : string

The formatted query.


Method big_query

variant Sql.Result big_query(string query, mapping bindings)

Returns

Returns an array with a single element:

"query" : string

The query string before formating.

"bindings_query" : string

The query string before bindings having been inserted.

"bindings" : string

sprintf("%O", bindings).

"formatted_query" : string

The formatted query.


Method big_query

variant Sql.Result big_query(string query, string|int|float|object extraarg, string|int|float|object ... extraargs)

Returns

Returns an array with a single element:

"query" : string

The query string before formating.

"bindings_query" : string

The query string before bindings having been inserted.

"bindings" : string

sprintf("%O", bindings).

"formatted_query" : string

The formatted query.

"args" : string

sprintf("%O", ({extraarg}) + extraargs).