Data API query types¶
Syntax definitions¶
TableName¶
String
RoleName¶
String
PGColumnType¶
String
Numeric types
Type Alias Description serialautoincrementing integer bigserialautoincrementing bigint integer4 bytes, typical choice for integer smallint2 bytes bigint8 bytes realfloat46 decimal digits precision, inexact double precisionfloat815 decimal digits precision, inexact numericdecimalarbitrary precision, exact Character types
Type Alias Description varchartexttypical choice for storing string types Date/Time types
Type Alias Description timestamp with time zonetimestamptzboth date and time, with time zone. Allowed values should be of ISO8601 format. Eg. 2016-07-20T17:30:15Z, 2016-07-20T17:30:15+05:30, 2016-07-20T17:30:15.234890+05:30 time with time zonetimetztime of day only, with time zone. Allowed values should be of ISO8601 format. Eg. 17:30:15Z, 17:30:15+05:30, 17:30:15.234890+05:30 datedate (no time of day). Allowed values are yyyy-mm-dd Boolean type
Type Alias Description booleanstate of true or false JSON types
Type Alias Description jsonStored as plain text jsonbStored in a binary format and can be indexed
PGColumn¶
String
RelationshipName¶
String
Operator¶
Generic operators (all column types except json, jsonb) :
"$eq""$ne""$in""$nin""$gt""$lt""$gte""$lte"
Text related operators :
"$like""$nlike""$ilike""$nilike""$similar""$nsimilar"
Operators for comparing columns (all column types except json, jsonb):
"$ceq""$cne""$cgt""$clt""$cgte""$clte"
Was this page helpful?