Skip to content

Commit

Permalink
Cleanup README
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwdan authored Apr 18, 2018
1 parent 086d26e commit 4d5e23f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $client = new PgAsync\Client([
"database" => "matt"
]);

$client->query('SELECT * FROM channel')->subscribe(new \Rx\Observer\CallbackObserver(
$client->query('SELECT * FROM channel')->subscribe(
function ($row) {
var_dump($row);
},
Expand All @@ -30,7 +30,7 @@ $client->query('SELECT * FROM channel')->subscribe(new \Rx\Observer\CallbackObse
function () {
echo "Complete.\n";
}
));
);


```
Expand All @@ -48,7 +48,7 @@ $client = new PgAsync\Client([
]);

$client->executeStatement('SELECT * FROM channel WHERE id = $1', ['5'])
->subscribe(new \Rx\Observer\CallbackObserver(
->subscribe(
function ($row) {
var_dump($row);
},
Expand All @@ -58,15 +58,15 @@ $client->executeStatement('SELECT * FROM channel WHERE id = $1', ['5'])
function () {
echo "Complete.\n";
}
));
);

```

## Install
With [composer](https://getcomposer.org/) install into you project with:

Install pgasync:
```composer require voryx/pgasync:dev-master```
```composer require voryx/pgasync```

## What it can do
- Run queries (CREATE, UPDATE, INSERT, SELECT, DELETE)
Expand Down

0 comments on commit 4d5e23f

Please sign in to comment.