#[SOLVED] Query method not valid: select

5 messages · Page 1 of 1 (latest)

granite shoal
#

Need help, Can anyone help me by saying what is the problem with this query methond?
return databases.listDocuments(awDatabase, awTable, [
Query.select(["$id","name",]),
Query.equal("$id", uid),
]);
I just need $id and name. Please share what is the problem here.
Getting 400 error

{message: "Query method not valid: select", code: 400, type: "general_argument_invalid",…}
code
: 
400
message
: 
"Query method not valid: select"
type
: 
"general_argument_invalid"
version
: 
"0.10.37"
shrewd basin
#

Query.select is part of version 1.3.x releases.
Cloud still uses 1.1.2

raven ocean
#

Query method not valid: select

#

[SOLVED] Query method not valid: select

granite shoal
#

So is there any way I can get only limited number of field?