Yugabyte - Use MultiValueBind like Postgres (that is, ANY(?) clause in sqlQuery/sqlUpdate)

This commit is contained in:
Rob Bygrave committed 2022-02-02 23:02:32 +13:00
1 parent 771e9ff069
commit 4899f23773
3 files changed
+7 -11

No files matched your search

@@ -280,7 +280,7 @@ public final class InternalConfiguration {
private MultiValueBind createMultiValueBind(Platform platform) {
// only Postgres at this stage
if (platform.base() == Platform.POSTGRES) {
if (platform.base() == Platform.POSTGRES || platform.base() == Platform.YUGABYTE) {
return new PostgresMultiValueBind();
}
return new MultiValueBind();