0

I am trying to implement Surrealdb in a NodeJS app.

It supports 4 operations:

get: Get by a key value as a string

set: Set the value of a key

findKeys: Select a key by %key%

doBulk: Simply performs a bulk operation of set or remove

remove: Removes a value by key

Is it always necessary to do this:

    res[0].result

to get the value of the result?

How can I create the findKeys method? With like it says: There was a problem with the database: Parse error on line 1 at character 30 when parsing 'LIKE $key'

Samuel
  • 547
  • 1
  • 3
  • 14

0 Answers0