File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ flexible manner. No more writing mocks or wrappers. Just pass in the query.
2222- [ Macros] ( #or-use-the-swift-macro )
2323- [ Queries] ( #queries )
2424- [ Types] ( #types )
25- - [ Operators] ( #operators )
2625- [ Dependency Injection] ( #dependency-injection )
2726
2827## Basic Primer
@@ -309,19 +308,6 @@ BLOB AS UUID
309308TEXT AS " Todo.ID"
310309```
311310
312- ## Operators
313- The library ships with a few core operators. The operators allow you to perform transformations on queries inputs or output. Or even combine queries.
314-
315- ## Then
316- Then is used to combine two queries together. It will execute ` self ` first then the input query. Each query will be run within the same transaction.
317-
318- ``` swift
319- func then <Next >(
320- _ next : Next,
321- nextInput : @Sendable @escaping (Input, Output) -> Next.Input
322- ) -> Queries.Then<Self , Next>
323- ```
324-
325311## Dependency Injection
326312> TL;DR Avoid the repository pattern, inject queries.
327313
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments