This repository has been archived by the owner on Nov 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 231
dontQuote doesn't apply in case statements #330
Labels
Comments
Apprently then and else methods doesn't support options docs |
agreed; this isn't really a bug as much as it is a feature request |
I see from the docs you can pass
maybe you can find here the good combination of options. hope this helps. |
Confirmed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
squel.case().when('published_at <= NOW()').then('test').else('column_name', { dontQuote: true })
will set values matchingpublished_at > NOW()
to the string'column_name'
instead of the value in the columncolumn_name
.The text was updated successfully, but these errors were encountered: