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: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,14 @@
16
16
17
17
18
18
19
-
This is simple lib to work with CouchDB in Swift.
19
+
This is a simple lib to work with CouchDB in Swift.
20
20
- Latest version is based on async/await and requires Swift 5.6 and newer. Works with Vapor 4.50 and newer.
21
21
- Version 1.0.0 can be used with Vapor 4 without async/await. Swift 5.3 is required
22
-
- You can use old version for Vapor 3 from vapor3 branch or using version < 1.0.0.
22
+
- You can use the old version for Vapor 3 from vapor3 branch or using version < 1.0.0.
23
23
24
-
The only depndency for this lib is <ahref="https://github.com/swift-server/async-http-client">async-http-client</a>
24
+
The only dependency for this lib is <ahref="https://github.com/swift-server/async-http-client">async-http-client</a>
25
25
26
-
## Documentaion
26
+
## Documentation
27
27
28
28
You can find docs, examples and even tutorials [here](https://spaceinbox.me/docs/couchdbclient/documentation/couchdbclient).
29
29
@@ -55,7 +55,7 @@ let couchDBClient = CouchDBClient(
55
55
)
56
56
```
57
57
58
-
If you don’t want to have your password in the code you can pass COUCHDB_PASS param in you command line. For example you can run your Server Side Swift project:
58
+
If you don’t want to have your password in the code you can pass COUCHDB_PASS param in your command line. For example you can run your Server Side Swift project:
Copy file name to clipboardExpand all lines: Sources/CouchDBClient/CouchDBClient.docc/CouchDBClient.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Source code is available on [GitHub](https://github.com/makoni/couchdb-vapor).
8
8
9
9
CouchDBClient allows you to make simple requests to CouchDB. It's using Swift Concurrency (async/await) and supports Linux, iOS 13+ and macOS 10.15+.
10
10
11
-
It's using [AsyncHTTPClient](https://github.com/swift-server/async-http-client) which makes it easy to use CouchDBClient for server-side development with Vapor 4.
11
+
It's using [AsyncHTTPClient](https://github.com/swift-server/async-http-client) which makes it easy to use CouchDBClient for server-side development with Vapor 4. But it's easy to use it with any iOS or macOS app. Check the Essentials section for examples.
Copy file name to clipboardExpand all lines: Sources/CouchDBClient/CouchDBClient.docc/Tutorials/ErrorsHandling/ErrorsHandlingTutorial.tutorial
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,25 +14,25 @@
14
14
15
15
@Steps {
16
16
@Step {
17
-
`CouchDBClient` has an Error enum `CouchDBClientError`. Some of enum values has nested error of `CouchDBError` type that represents error messages from CouchDB.
17
+
`CouchDBClient` has an Error enum `CouchDBClientError`. Some enum values have nested errors of `CouchDBError` type that represent error messages from CouchDB.
Get you document from DB. That example is using `CouchDB View` to find the document by url field. It's map function needs `key` param which is `appUrl` in our case.
41
+
Get your document from DB. That example is using `CouchDB View` to find the document by the url field. Its map function needs a `key` param which is `appUrl` in our case.
0 commit comments