Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional @context

@context: Context

A JSON-LD Context for the query. In an API, this will frequently be implicit. For example, using json-rql as the body of a POST to http://example.com/my-api/v1/person/query might have the implicit context of a Person (possibly found at http://example.com/my-api/v1/person).

see

examples

@distinct

@distinct: Result

Like @select but returns only unique rows.

Optional @groupBy

@groupBy: Expression | Expression[]

Specifies an expression or an array of expressions to group the result by.

see

examples

Optional @having

@having: Expression

Specifies an expression to filter individual grouped-by members.

see

examples

Optional @limit

@limit: undefined | number

Integer page size limit for results

Optional @offset

@offset: undefined | number

Integer offset for results

Optional @orderBy

@orderBy: Expression | Expression[]

Specifies an expression or array of expressions to order the results by.

see

examples

Optional @values

Specifies a Variable Expression or array of Variable Expressions that define [inline allowable value combinations]. This is a short-hand for including values in Groups in the @where clause.

see

SPARQL inline-data

see

examples

Optional @where

@where: Pattern[] | Pattern

specifies a pattern to match, or an array of patterns to match. Each can be a Subject, a Group, or another Query (a sub-query).

see

examples

Legend

  • Property

Generated using TypeDoc. Delivered by Vercel. json-rql - v0.6.2 Source code licensed MIT. Privacy policy