public static interface DatabaseClient.SqlSpec
NamedParameterExpander
is enabled.
Accepts PreparedOperation
as SQL and binding Supplier
.
Modifier and Type | Method and Description |
---|---|
DatabaseClient.GenericExecuteSpec |
sql(String sql)
Specify a static
sql string to execute. |
DatabaseClient.GenericExecuteSpec |
sql(Supplier<String> sqlSupplier)
Specify a static
SQL supplier that provides SQL to execute. |
DatabaseClient.GenericExecuteSpec sql(String sql)
sql
string to execute.sql
- must not be null or empty.DatabaseClient.GenericExecuteSpec
.DatabaseClient.GenericExecuteSpec sql(Supplier<String> sqlSupplier)
SQL supplier
that provides SQL to execute.sqlSupplier
- must not be null.DatabaseClient.GenericExecuteSpec
.PreparedOperation
Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.