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
Both of your suggestions work. I prefer Dee's suggestion because it doesn't necessitate a nested template literal. But good to know that I can use both.
Is there a way to do a conditional query, i.e. have the query be different based on a condition. An example (which I'm pretty sure doesn't work):
My only option now, given that I couldn't find a way to do this, is to have two query statements: one with the "WHERE" and one without.
The text was updated successfully, but these errors were encountered: