Skip to main content
Rust4PM

ViewDef

One compiled relation: a name and the bare SELECT that defines it.
Used as Input

0

functions accept this type

Used as Output

0

functions return this type(+1 nested)

Type Definition

2 nested items
struct— One compiled relation: a name and the bare SELECT that defines it.
body*:String— A bare SELECT body with no CREATE wrapper, so the same text serves a view, a CTE and
name*:String— The relation's name, unquoted.

Example JSON Value

json
{
  "body": "example",
  "name": "example"
}