surrealdb-community / surreal-notebook

MIT License
10 stars 1 forks source link

[Bug] CREATE statement without explicit ID crashes DB #22

Open Z8MB1E opened 1 year ago

Z8MB1E commented 1 year ago

Hoping you might be able to help with this!

Anytime I attempt to create an item in a table without an explicitly defined ID (ie. author instead of author:john), the DB seems to crash. This does not occur when performing the same operation via a different method, such as surreal sql or via a REST endpoint.

Example images: image

Running the above causes this error: image

However, when an ID is explicitly defined, it runs just fine: image

Here's the output for the above: image

Hopefully this helps. Let me know if I am doing something wrong!

metruzanca commented 1 year ago

I have also noticed this.