-
We encountered an issue when we build our SQL statement dynamically with a very long list. When we generate a statement like this:
We receive an exception We thought that we can try to split the IN predicate to multiple predicates with an OR something like this:
I thought of using the transformer pattern but I can't seem to figure out how to implement the body of the transform function.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
where are you getting the max number of expressions error? is this from your database? the transform should work, just return an or statement, exp.or_(…., …) |
Beta Was this translation helpful? Give feedback.
where are you getting the max number of expressions error? is this from your database?
the transform should work, just return an or statement,
exp.or_(…., …)