I have a table called "Computers".
I want to change it to "computer".
There must be no data loss while changing the name.
How can I change it? How to change table name in SurrealQL?
There isn't a direct method to change the table name without data loss in SurrealQL. However, you can accomplish your objective (change the table name from "Computers" to "computer")
using the following technique:
INSERT INTO computer SELECT * FROM Computers;
.Remember to back up your data before making changes.