We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When use findById() and pass a uuid alphanumeric string, example:
User.findById(6f13eba03b6d11e780d5c59d28f4b039, function(err, user){ // your code here })
show: Unhandled rejection Error: SQLITE_ERROR: no such column: "6f13eba03b6d11e780d5c59d28f4b039"
Unhandled rejection Error: SQLITE_ERROR: no such column: "6f13eba03b6d11e780d5c59d28f4b039"
this is my model:
const User = schema.define('user', { id: { type: schema.String, unique : true }, username: { type: schema.String, limit: 25 }, email: { type: schema.String, limit: 100, unique : true }, password: { type: schema.String }, role: { type: schema.String } }, { primaryKeys: ["id"] });
This works fine but only allows integer, non-alphanumeric characters I have also tested with the mysql adapter and the same thing happens
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When use findById() and pass a uuid alphanumeric string, example:
show:
Unhandled rejection Error: SQLITE_ERROR: no such column: "6f13eba03b6d11e780d5c59d28f4b039"
this is my model:
This works fine but only allows integer, non-alphanumeric characters
I have also tested with the mysql adapter and the same thing happens
The text was updated successfully, but these errors were encountered: