mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
Use Postgres Array ANY and ALL without select unnest
This commit is contained in:
1 parent
5bccdccbd6
commit
1e1c518641
34 files changed
+157
-117
No files matched your search
@@ -229,9 +229,9 @@ public class Binder {
|
||||
/**
|
||||
* Return the SQL in clause taking into account Multi-value support.
|
||||
*/
|
||||
public String getInExpression(Object[] bindValues) {
|
||||
public String getInExpression(boolean not, Object[] bindValues) {
|
||||
ScalarType<?> type = getScalarType(bindValues[0].getClass());
|
||||
return multiValueBind.getInExpression(type, bindValues.length);
|
||||
return multiValueBind.getInExpression(not, type, bindValues.length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user