Idris2Doc : Oracle.Types.JSONQuery

Oracle.Types.JSONQuery

(source)

Definitions

recordJSONQuery : Type
  A query whose selected expression is expected to produce a JSON value.

The expression is wrapped by queryJSON as: JSON_SERIALIZE(expression RETURNING CLOB)

The resulting CLOB is then returned to Idris as a String.

`querybody` should contain the FROM clause and any additional SQL clauses required to identify the rows being queried.

For example:

MkJSONQuery
"payload"
"documents"
[]

Produces SQL equivalent to:

SELECT JSON_SERIALIZE(payload RETURNING CLOB)
FROM documents

Totality: total
Visibility: public export
Constructor: 
MkJSONQuery : String->String->ListBindParameter->JSONQuery

Projections:
.binds : JSONQuery->ListBindParameter
.expression : JSONQuery->String
.querybody : JSONQuery->String
.expression : JSONQuery->String
Visibility: public export
expression : JSONQuery->String
Visibility: public export
.querybody : JSONQuery->String
Visibility: public export
querybody : JSONQuery->String
Visibility: public export
.binds : JSONQuery->ListBindParameter
Visibility: public export
binds : JSONQuery->ListBindParameter
Visibility: public export