You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SQLKit/Docs.docc/BasicUsage.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,16 +166,16 @@ Notice that `Encodable` values are automatically bound as parameters instead of
166
166
167
167
The select builder includes the following methods (most of which have numerous variations):
168
168
169
-
-`columns()` (specify a list of columns and/or expressions to return)
170
-
-`from()` (specify a table to select from)
171
-
-`join()` (specify additional tables and how to relate them to others)
172
-
-`where()` and `orWhere()` (specify conditions that narrow down the possible results)
173
-
-`limit()` and `offset()` (specify a limited and/or offsetted range of results to return)
174
-
-`orderBy()` (specify how to sort results before returning them)
175
-
-`groupBy()` (specify columns and/or expressions for aggregating results)
176
-
-`having()` and `orHaving()` (specify secondary conditions to apply to the results after aggregation)
177
-
-`distinct()` (specify coalescing of duplicate results)
178
-
-`for()` and `lockingClause()` (specify locking behavior for rows that appear in results)
169
+
-``SQLSelectBuilder/columns(_:)-([SQLExpression])`` (specify a list of columns and/or expressions to return)
170
+
-``SQLSelectBuilder/from(_:)-(String)`` (specify a table to select from)
171
+
-``SQLSelectBuilder/join(_:method:on:_:_:)-(SQLExpression,_,_,_,_)`` (specify additional tables and how to relate them to others)
172
+
-``SQLSelectBuilder/where(_:_:_:)-(SQLExpression,SQLBinaryOperator,_)`` and ``SQLSelectBuilder/orWhere(_:_:_:)-(SQLExpression,SQLBinaryOperator,_)`` (specify conditions that narrow down the possible results)
173
+
-``SQLSelectBuilder/limit(_:)`` and ``SQLSelectBuilder/offset(_:)`` (specify a limited and/or offsetted range of results to return)
174
+
-``SQLSelectBuilder/orderBy(_:_:)-(String,_)`` (specify how to sort results before returning them)
175
+
-``SQLSelectBuilder/groupBy(_:)-(SQLExpression)`` (specify columns and/or expressions for aggregating results)
176
+
-``SQLSelectBuilder/having(_:_:_:)-(SQLExpression,SQLBinaryOperator,_)`` and ``SQLSelectBuilder/orHaving(_:_:_:)-(SQLExpression,SQLBinaryOperator,_)`` (specify secondary conditions to apply to the results after aggregation)
177
+
-``SQLSelectBuilder/distinct()`` (specify coalescing of duplicate results)
178
+
-``SQLSelectBuilder/for(_:)`` and ``SQLSelectBuilder/lockingClause(_:)`` (specify locking behavior for rows that appear in results)
179
179
180
180
Conditional expressions provided to `where()` or `having()` are joined with `AND`. Corresponding `orWhere()` and `orHaving()` methods join conditions with `OR` instead.
0 commit comments