#1186 - ENH: Support using TableValues / Array for select prop in (?) queries

This commit is contained in:
rob bygrave
2017-10-31 02:53:20 +13:00
parent 89dac3820b
commit 6e62b72fb9
43 changed files with 756 additions and 131 deletions
@@ -12,6 +12,7 @@ import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.sql.SQLException;
import java.util.Collection;
import java.util.List;
/**
@@ -134,7 +135,15 @@ public interface IdBinder {
*/
void bindId(DefaultSqlUpdate sqlUpdate, Object value);
void addIdInBindValue(SpiExpressionRequest request, Object value);
/**
* Binds multiple id value to an update.
*/
void addIdInBindValues(DefaultSqlUpdate sqlUpdate, Collection<?> ids);
/**
* Binds multiple id value to a request.
*/
void addIdInBindValues(SpiExpressionRequest request, Collection<?> ids);
/**
* Return the sql for binding the id using an IN clause.