Open limcheekin opened 6 months ago
The db.select() and db.delete() throw the error above when the given id is not found.
db.select()
db.delete()
const db = new Surreal(); await db.connect("indxdb://test"); await db.use({ namespace: "test", database: "test" }); await db.select("person:1");
npm run serve
It should return null or [].
null
[]
1.2.0 and 1.3.0
1.2.0
1.3.0
No response
Describe the bug
The
db.select()
anddb.delete()
throw the error above when the given id is not found.Steps to reproduce
npm run serve
.Expected behaviour
It should return
null
or[]
.SurrealDB version
1.2.0
and1.3.0
Contact Details
No response
Is there an existing issue for this?
Code of Conduct