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
LIKE
SQLite
MySQL
The Drizzle ORM docs specify that LIKE operator is "case sensitive" for SQLite, MySQL and PostgreSQL databases at https://orm.drizzle.team/docs/operators#like
PostgreSQL
But actually the LIKE operator is only case sensitive for PostgreSQL[1] and is case insensitive for SQLite[2] and MySQL[3] databases.
I have tested SQLite with bun-sqlite driver and can confirm that the LIKE filter returns case insensitive results for me.
bun-sqlite
File to be edited:
drizzle-orm-docs/src/content/documentation/docs/operators.mdx
Line 348 in b4fb88d
[1] https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-LIKE [2] https://www.sqlite.org/lang_expr.html [3] https://dev.mysql.com/doc/refman/8.0/en/pattern-matching.html
Screenshots:
PostgresQL:
SQLite:
MySQL:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The Drizzle ORM docs specify that
LIKE
operator is "case sensitive" forSQLite
,MySQL
andPostgreSQL
databases at https://orm.drizzle.team/docs/operators#likeBut actually the
LIKE
operator is only case sensitive forPostgreSQL
[1] and is case insensitive forSQLite
[2] andMySQL
[3] databases.I have tested
SQLite
withbun-sqlite
driver and can confirm that theLIKE
filter returns case insensitive results for me.File to be edited:
drizzle-orm-docs/src/content/documentation/docs/operators.mdx
Line 348 in b4fb88d
[1] https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-LIKE
[2] https://www.sqlite.org/lang_expr.html
[3] https://dev.mysql.com/doc/refman/8.0/en/pattern-matching.html
Screenshots:
PostgresQL:
SQLite:
MySQL:
The text was updated successfully, but these errors were encountered: