Skip to content

Commit

Permalink
Clarify basic config usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmp135 committed Mar 24, 2024
1 parent 2da4960 commit 0ffd82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ import { Client } from '@rmp135/sql-ts'
const config = { } // Config as before.
```

If you're fetching using only a config, use `fetchDatabase`.
The most basic syntax is chaining `fromObject`, `fetchDatabase` and `toTypescript`.

```js
const definition = await Client
Expand Down

0 comments on commit 0ffd82a

Please sign in to comment.