8000 Documentation updates. · qza/postgres-async-driver@9772369 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 9772369

Browse files
committed
Documentation updates.
1 parent 6ba6ba9 commit 9772369

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ db.querySet("select 'Hello world!' as message")
2929
// => Hello world
3030
```
3131

32-
Querying for rows returns an [rx.Observable](http://reactivex.io/documentation/observable.html) that emits 0-n [Rows](https://github.com/alaisi/postgres-async-driver/blob/master/src/main/java/com/github/pgasync/Row.java).
32+
Querying for rows returns an [rx.Observable](http://reactivex.io/documentation/observable.html) that emits 0-n [Rows](https://github.com/alaisi/postgres-async-driver/blob/master/src/main/java/com/github/pgasync/Row.java). The rows are emitted immediately as they are received from the server instead of waiting for the entire query to complete.
3333

3434
```java
3535
Db db = ...;
@@ -63,7 +63,7 @@ Each connection *pool* will start only one IO thread used in communicating with
6363
Prepared statements use native PostgreSQL syntax `$index`. Supported parameter types are all primitive types, `String`, `BigDecimal`, `BigInteger`, `UUID`, temporal types in `java.sql` package and `byte[]`.
6464

6565
```java
66-
db.querySet("insert into message(id, body) values($1, $2)", 123, "hello"))
66+
db.querySet("insert into message(id, body) values($1, $2)", 123, "hello")
6767
.subscribe(result -> out.printf("Inserted %d rows", result.updatedRows() ));
6868
```
6969

0 commit comments

Comments
 (0)
0