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 been referencing the release on generated columns to automatically generate values in a handle column on some tables, however, I keep running into an error when doing exactly what is shown in the release notes.
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
-
I have been referencing the release on generated columns to automatically generate values in a
handle
column on some tables, however, I keep running into an error when doing exactly what is shown in the release notes.Docs: https://github.com/drizzle-team/drizzle-orm/releases/tag/0.32.0
The below example lowers the organiation.name to format it, which works correctly.
However, when trying to add another value or even just hardcoding a string with spaces, it keeps returning errors.
For example:
Errors thrown:
I tried everything I could think to format text, but can't seem to get around it.
The docs show this exact example, but it doesn't work:
Docs: https://orm.drizzle.team/docs/generated-columns
What is the correct way to do this?
Beta Was this translation helpful? Give feedback.
All reactions