Skip to content

Commit 60bfef1

Browse files
author
Nikolai Malygin
committed
remove tabs from README.md
1 parent 890a349 commit 60bfef1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ Interface `Query` is a request to which RDBMS returns a result set, which must t
5656

5757
```java
5858
List<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
6666
List<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

7272
Implementations 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");
8484
titlesQuery.append(" WHERE title LIKE ?", new StringArgument("Clean%"));
8585
titlesQuery.append(" LIMIT ?", new IntArgument(10));
8686
List<String> titles = titlesQuery
87-
.executeWith(new ColumnToListRsh<>(new StringColumn("title")));
87+
.executeWith(new ColumnToListRsh<>(new StringColumn("title")));
8888
```
8989

9090
This 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
100100
changes
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
108108
changes
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

Comments
 (0)