Closed Nipodemos closed 2 weeks ago
Hey @Nipodemos, you seem to be using a variable $nome
in your signup query. Did you mean to use $name
?
What happened is that I was translating the code snippet to english since it was not in english originally but ended up forgetting that one variable. So in theory that's not the problem but now i need to double check just to be sure. I'll post it here when i'm done
after many attempts, I've finally discovered the problem: the table name on the signup part was wrong. I admit i'm kinda feeling embarrassed right now, sorry for the trouble my friend
Describe the bug
I'm doing a simple project with NodeJS and trying to using surrealdb for the first time. However, everytime a use the
db.signup()
function, I get the errro mentioned in the title. I don't know if I am doing something wrongSteps to reproduce
Expected behaviour
Sign up successfully and return me a token
SurrealDB version
1.5.0 for windows on x86_64
SurrealDB.js version
1.0.0-beta.9
Contact Details
nipodemos13@gmail.com or a.lanzi@hotmail.com
Is there an existing issue for this?
Code of Conduct