Skip to content

Commit 44a5a1e

Browse files
fix typos[skip ci]
1 parent 701936c commit 44a5a1e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/site/markdown/statement-builders.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,23 +114,23 @@ public String updatePersonSql() {
114114

115115
| Method | Description |
116116
| :----------------------------------------------------------- | :----------------------------------------------------------- |
117-
| `SELECT(String)``SELECT(String...)` | Starts or appends to a `SELECT` clause. Can be called more than once, and parameters will be appended to the `SELECT` clause. The parameters are usually a comma separated list of columns and aliases, but can be anything acceptable to the driver. |
118-
| `SELECT_DISTINCT(String)``SELECT_DISTINCT(String...)` | Starts or appends to a `SELECT` clause, also adds the `DISTINCT` keyword to the generated query. Can be called more than once, and parameters will be appended to the `SELECT` clause. The parameters are usually a comma separated list of columns and aliases, but can be anything acceptable to the driver. |
119-
| `FROM(String)``FROM(String...)` | Starts or appends to a `FROM` clause. Can be called more than once, and parameters will be appended to the `FROM` clause. Parameters are usually a table name and an alias, or anything acceptable to the driver. |
120-
| `JOIN(String)``JOIN(String...)``INNER_JOIN(String)``INNER_JOIN(String...)``LEFT_OUTER_JOIN(String)``LEFT_OUTER_JOIN(String...)``RIGHT_OUTER_JOIN(String)``RIGHT_OUTER_JOIN(String...)` | Adds a new `JOIN` clause of the appropriate type, depending on the method called. The parameter can include a standard join consisting of the columns and the conditions to join on. |
121-
| `WHERE(String)``WHERE(String...)` | Appends a new `WHERE` clause condition, concatenated by`AND`. Can be called multiple times, which causes it to concatenate the new conditions each time with`AND`. Use `OR()` to split with an`OR`. |
117+
| `SELECT(String)`<br/>`SELECT(String...)` | Starts or appends to a `SELECT` clause. Can be called more than once, and parameters will be appended to the `SELECT` clause. The parameters are usually a comma separated list of columns and aliases, but can be anything acceptable to the driver. |
118+
| `SELECT_DISTINCT(String)`<br/>`SELECT_DISTINCT(String...)` | Starts or appends to a `SELECT` clause, also adds the `DISTINCT` keyword to the generated query. Can be called more than once, and parameters will be appended to the `SELECT` clause. The parameters are usually a comma separated list of columns and aliases, but can be anything acceptable to the driver. |
119+
| `FROM(String)`<br/>`FROM(String...)` | Starts or appends to a `FROM` clause. Can be called more than once, and parameters will be appended to the `FROM` clause. Parameters are usually a table name and an alias, or anything acceptable to the driver. |
120+
| `JOIN(String)`<br/>`JOIN(String...)`<br/>`INNER_JOIN(String)`<br/>`INNER_JOIN(String...)`<br/>`LEFT_OUTER_JOIN(String)`<br/>`LEFT_OUTER_JOIN(String...)`<br/>`RIGHT_OUTER_JOIN(String)`<br/>`RIGHT_OUTER_JOIN(String...)` | Adds a new `JOIN` clause of the appropriate type, depending on the method called. The parameter can include a standard join consisting of the columns and the conditions to join on. |
121+
| `WHERE(String)`<br/>`WHERE(String...)` | Appends a new `WHERE` clause condition, concatenated by`AND`. Can be called multiple times, which causes it to concatenate the new conditions each time with`AND`. Use `OR()` to split with an`OR`. |
122122
| `OR()` | Splits the current `WHERE` clause conditions with an`OR`. Can be called more than once, but calling more than once in a row will generate erratic`SQL`. |
123123
| `AND()` | Splits the current `WHERE` clause conditions with an`AND`. Can be called more than once, but calling more than once in a row will generate erratic`SQL`. Because `WHERE` and `HAVING` both automatically concatenate with `AND`, this is a very uncommon method to use and is only really included for completeness. |
124-
| `GROUP_BY(String)``GROUP_BY(String...)` | Appends a new `GROUP BY` clause elements, concatenated by a comma. Can be called multiple times, which causes it to concatenate the new conditions each time with a comma. |
125-
| `HAVING(String)``HAVING(String...)` | Appends a new `HAVING` clause condition, concatenated by AND. Can be called multiple times, which causes it to concatenate the new conditions each time with`AND`. Use `OR()` to split with an`OR`. |
126-
| `ORDER_BY(String)``ORDER_BY(String...)` | Appends a new `ORDER BY` clause elements, concatenated by a comma. Can be called multiple times, which causes it to concatenate the new conditions each time with a comma. |
127-
| `LIMIT(String)``LIMIT(int)` | Appends a `LIMIT` clause. This method valid when use together with SELECT(), UPDATE() and DELETE(). And this method is designed to use together with OFFSET() when use SELECT(). (Available since 3.5.2) |
128-
| `OFFSET(String)``OFFSET(long)` | Appends a `OFFSET` clause. This method valid when use together with SELECT(). And this method is designed to use together with LIMIT(). (Available since 3.5.2) |
129-
| `OFFSET_ROWS(String)``OFFSET_ROWS(long)` | Appends a `OFFSET n ROWS` clause. This method valid when use together with SELECT(). And this method is designed to use together with FETCH_FIRST_ROWS_ONLY(). (Available since 3.5.2) |
130-
| `FETCH_FIRST_ROWS_ONLY(String)``FETCH_FIRST_ROWS_ONLY(int)` | Appends a `FETCH FIRST n ROWS ONLY` clause. This method valid when use together with SELECT(). And this method is designed to use together with OFFSET_ROWS(). (Available since 3.5.2) |
124+
| `GROUP_BY(String)`<br/>`GROUP_BY(String...)` | Appends a new `GROUP BY` clause elements, concatenated by a comma. Can be called multiple times, which causes it to concatenate the new conditions each time with a comma. |
125+
| `HAVING(String)`<br/>`HAVING(String...)` | Appends a new `HAVING` clause condition, concatenated by AND. Can be called multiple times, which causes it to concatenate the new conditions each time with`AND`. Use `OR()` to split with an`OR`. |
126+
| `ORDER_BY(String)`<br/>`ORDER_BY(String...)` | Appends a new `ORDER BY` clause elements, concatenated by a comma. Can be called multiple times, which causes it to concatenate the new conditions each time with a comma. |
127+
| `LIMIT(String)`<br/>`LIMIT(int)` | Appends a `LIMIT` clause. This method valid when use together with SELECT(), UPDATE() and DELETE(). And this method is designed to use together with OFFSET() when use SELECT(). (Available since 3.5.2) |
128+
| `OFFSET(String)`<br/>`OFFSET(long)` | Appends a `OFFSET` clause. This method valid when use together with SELECT(). And this method is designed to use together with LIMIT(). (Available since 3.5.2) |
129+
| `OFFSET_ROWS(String)`<br/>`OFFSET_ROWS(long)` | Appends a `OFFSET n ROWS` clause. This method valid when use together with SELECT(). And this method is designed to use together with FETCH_FIRST_ROWS_ONLY(). (Available since 3.5.2) |
130+
| `FETCH_FIRST_ROWS_ONLY(String)`<br/>`FETCH_FIRST_ROWS_ONLY(int)` | Appends a `FETCH FIRST n ROWS ONLY` clause. This method valid when use together with SELECT(). And this method is designed to use together with OFFSET_ROWS(). (Available since 3.5.2) |
131131
| `DELETE_FROM(String)` | Starts a delete statement and specifies the table to delete from. Generally this should be followed by a WHERE statement! |
132132
| `INSERT_INTO(String)` | Starts an insert statement and specifies the table to insert into. This should be followed by one or more VALUES() or INTO_COLUMNS() and INTO_VALUES() calls. |
133-
| `SET(String)``SET(String...)` | Appends to the "set" list for an update statement. |
133+
| `SET(String)`<br/>`SET(String...)` | Appends to the "set" list for an update statement. |
134134
| `UPDATE(String)` | Starts an update statement and specifies the table to update. This should be followed by one or more SET() calls, and usually a WHERE() call. |
135135
| `VALUES(String, String)` | Appends to an insert statement. The first parameter is the column(s) to insert, the second parameter is the value(s). |
136136
| `INTO_COLUMNS(String...)` | Appends columns phrase to an insert statement. This should be call INTO_VALUES() with together. |

0 commit comments

Comments
 (0)