You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a table called "call": In this table Video-Calls are stored.
I create a hash-id (hashid) field which should be case-sensitive, e.g. JPe9gxdjRULnpL9mQ9jy2eHgWSyeoLrm6LAGgmrtbhNH4LIN9D
Now I do want to search binary-safe or Case-Sensitive.
Because it doesn't mather if I search for JPe... or jpe... in both cases the above entry was found.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
I have a table called "call": In this table Video-Calls are stored.
I create a hash-id (hashid) field which should be case-sensitive, e.g. JPe9gxdjRULnpL9mQ9jy2eHgWSyeoLrm6LAGgmrtbhNH4LIN9D
Now I do want to search binary-safe or Case-Sensitive.
Because it doesn't mather if I search for JPe... or jpe... in both cases the above entry was found.
Googling around: mysql has a default feature: performing case insensitive searches. See: https://stackoverflow.com/questions/7857669/mysql-case-sensitive-query
How can I force sqlmodel to do so?
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.22
Python Version
Python 3.11.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions