@@ -56,17 +56,17 @@ Interface `Query` is a request to which RDBMS returns a result set, which must t
5656
5757``` java
5858List<String > titles = queries
59- .query(" SELECT title FROM books" )
60- .executeWith(new ColumnToListRsh<> (new StringColumn (" title" )));
59+ .query(" SELECT title FROM books" )
60+ .executeWith(new ColumnToListRsh<> (new StringColumn (" title" )));
6161```
6262
6363#### Using parameters
6464
6565``` java
6666List<String > titles = queries
67- .query(" SELECT title FROM books WHERE title LIKE ?" ,
68- new StringArgument (" Clean%" ))
69- .executeWith(new ColumnToListRsh<> (new StringColumn (" title" )));
67+ .query(" SELECT title FROM books WHERE title LIKE ?" ,
68+ new StringArgument (" Clean%" ))
69+ .executeWith(new ColumnToListRsh<> (new StringColumn (" title" )));
7070```
7171
7272Implementations of the ` Argument ` interface are used to define arguments. ` Superb-jdbc ` has several commonly used
@@ -84,7 +84,7 @@ Query titlesQuery = queries.query("SELECT title FROM books");
8484titlesQuery. append(" WHERE title LIKE ?" , new StringArgument (" Clean%" ));
8585titlesQuery. append(" LIMIT ?" , new IntArgument (10 ));
8686List<String > titles = titlesQuery
87- .executeWith(new ColumnToListRsh<> (new StringColumn (" title" )));
87+ .executeWith(new ColumnToListRsh<> (new StringColumn (" title" )));
8888```
8989
9090This approach can be useful, for example, when we have a web form and, depending on the fields filled in it, we want to
@@ -98,16 +98,16 @@ The `Change` interface is a request to change the database (_DDL or DML_).
9898
9999``` java
100100changes
101- .change(" INSERT INTO books(title) VALUES ('Clean Code')" )
102- .apply();
101+ .change(" INSERT INTO books(title) VALUES ('Clean Code')" )
102+ .apply();
103103```
104104
105105#### Using parameters
106106
107107``` java
108108changes
109- .change(" INSERT INTO books(title) VALUES (?)" , new StringArgument (" Clean Code" ))
110- .apply();
109+ .change(" INSERT INTO books(title) VALUES (?)" , new StringArgument (" Clean Code" ))
110+ .apply();
111111```
112112
113113### Batch
0 commit comments