Skip to content

Commit 34fda27

Browse files
committed
Deleted then query
1 parent 86914a9 commit 34fda27

2 files changed

Lines changed: 0 additions & 98 deletions

File tree

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff 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
309308
TEXT 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

Sources/Otter/Queries/Then.swift

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)