ITADN

Documentation: insert with REFERENCE fields

#1594Openya0z0ng 创建于 2026-01-28
documentation
Y
ya0z0ngcommented
### Description **Expected record<company> but found 'company:3uwxahwn0fhmkzlqwp8p'** ```js surrealdb.insert(new Table(job), { description: "Hello World", company: "company:3uwxahwn0fhmkzlqwp8p", }) ``` How to insert with **REFERENCE** fields ### Is there an existing issue for this? - [x] I have searched the existing issues ### Code of Conduct - [x] I agree to follow this project's Code of Conduct
0 条评论