SackCastellon
02/07/2020, 9:58 PMLiteralOp and QueryParameter?
LiteralOp converts the specified value to a SQL value using the specified columnType, and QueryParameter, when the query uses a prepared statement, adds a ? for each value and then injects the actual value, and when it is not prepared, just works like the LiteralOp?tapac
02/08/2020, 1:45 PMLiteralOp inlines it’s value while QueryParameter could be used in prepared statement.
I’m not sure that LiteralOps have much sence against QueryParameter but I guess there are should be cases when you have to inline values in query.