-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Description
Describe the bug
create record succcess in surreallist but fail in client with status 200 and empty result with same sql
const db = new Surreal()
await db.connect(...)
await db.use(...)
const record = await db.query(
`CREATE job CONTENT {
title: "Senior Backend Engineer",
description: "Responsible for building scalable APIs.",
salary: "150000",
state: "draft",
location: "Remote",
company: company:3uwxahwn0fhmkzlqwp8p,
industry: industry:j3dcd6n0ewybhmvg3qbb,
schedule: "full_time",
seniority_level: "Senior",
expired_time: NONE
}`,
);In surreallist, new record created success
In JDK client, request success with ok result but no record create
Steps to reproduce
just use any table with REFERENCE fields (table with no REFERENCE fields will work)
Expected behaviour
none
SurrealDB version
3.0.0-beta.2 for for linux on aarch64
JavaScript SDK version
2.0.0-alpha.16
Contact Details
No response
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct (repository /surrealdb.js)
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable