Oracle Rest Data Services (ORDS) (MOSC)

MOSC Banner

ORDS QraphQL Keyset pagination error

Hello,

I have a problem when working with graphql.
Let me try to describe the situation.

ORDS version 23.4 run on linux Ubuntu 18.04.5 LTS.

Running a simple query

query MyQuery {
workshop {
id
name_s
}}

I get the result.

{
"data": {
"workshop": [
{
"id": 42,
"name_s": "BK01"
},
{
"id": 3,
"name_s": "BP06"
},

…..

{
"id": 13,
"name_s": "BP07"
},
{
"id": 16,
"name_s": "BP08"
}
]
}
}

My goal is to get the first 5 objects.

I modify the query (as specified in "ORDS Developer's Guide/ 10 GraphQL in Oracle REST Data Services / 10.7 Keyset Pagination")

Execute the modified query.

query MyQuery {
workshop(offset: 1, limit: 5) {
id
name_s
}
}

As a result I get an error

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center