public interface SqlClientInternal extends SqlClient
| Modifier and Type | Method and Description |
|---|---|
int |
appendQueryPlaceholder(StringBuilder queryBuilder,
int index,
int current)
Append a parameter placeholder in the
query. |
close, close, preparedQuery, queryint appendQueryPlaceholder(StringBuilder queryBuilder, int index, int current)
query.
The index starts at 0.
index == current indicates it is a new parameter and therefore the same
* value should be returned.index < current indicates the builder wants to reuse a parameter.
The implementation can either return the same value to indicate the parameter can be reused or
return the next index to use (which is shall be the current valuequeryBuilder - the builder to append toindex - the parameter placeholder indexCopyright © 2021. All rights reserved.