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'm finding a need for an OR in a SELECT query. Alternatives presently include:
performing two separate queries and merging the data together
using raw SQL
other?
Complications:
interleaving sorted data becomes difficult to implement and comes at a performance penalty
generating IN (?) arguments for raw SQL adds additional app code, effectively duplicating work already accomplished in the Pop library
I haven't thought of other alternatives. Suggestions?
If I were to create an OrWhere method in the query builder, would this be of value? I'm not promising anything, as I haven't a clue what I'd be getting myself into. Just wanted to check ahead of time to see if it would be accepted.
The text was updated successfully, but these errors were encountered:
I'm finding a need for an
OR
in aSELECT
query. Alternatives presently include:Complications:
IN (?)
arguments for raw SQL adds additional app code, effectively duplicating work already accomplished in the Pop libraryIf I were to create an
OrWhere
method in the query builder, would this be of value? I'm not promising anything, as I haven't a clue what I'd be getting myself into. Just wanted to check ahead of time to see if it would be accepted.The text was updated successfully, but these errors were encountered: