Skip to content

Commit

Permalink
docs: format Readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
bombillazo committed Feb 16, 2024
1 parent 4f031f1 commit 2c7782e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ await client.connect();
}

{
const result =
await client.queryArray`SELECT ID, NAME FROM PEOPLE WHERE ID = ${1}`;
const result = await client
.queryArray`SELECT ID, NAME FROM PEOPLE WHERE ID = ${1}`;
console.log(result.rows); // [[1, 'Carlos']]
}

Expand All @@ -51,8 +51,8 @@ await client.connect();
}

{
const result =
await client.queryObject`SELECT ID, NAME FROM PEOPLE WHERE ID = ${1}`;
const result = await client
.queryObject`SELECT ID, NAME FROM PEOPLE WHERE ID = ${1}`;
console.log(result.rows); // [{id: 1, name: 'Carlos'}]
}

Expand Down Expand Up @@ -155,11 +155,16 @@ This situation will stabilize as `std` and `deno-postgres` approach version 1.0.

## Breaking changes

Although the `deno-driver` is pretty stable and robust, it is a WIP and we're still exploring the design. Expect some breaking changes as we reach version 1.0 and enhance the feature set. PLease check the Releases for more info on breaking changes. Please reach out if there are any undocumented breaking changes.
Although the `deno-driver` is pretty stable and robust, it is a WIP and we're
still exploring the design. Expect some breaking changes as we reach version 1.0
and enhance the feature set. PLease check the Releases for more info on breaking
changes. Please reach out if there are any undocumented breaking changes.

## Found issues?

Please file an issue with any problems with the driver in this repository's issue section. If you would like to help, please look at the issues as well. You can pick up one of them and try to implement it.
Please file an issue with any problems with the driver in this repository's
issue section. If you would like to help, please look at the issues as well. You
can pick up one of them and try to implement it.

## Contributing guidelines

Expand Down

0 comments on commit 2c7782e

Please sign in to comment.