Skip to content

Commit

Permalink
updated api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor committed Feb 5, 2025
1 parent e09f982 commit 71a04e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,11 @@ await pg.describeQuery('SELECT * FROM test WHERE name = $1', ['test'])
}
```

### clone
`.clone(): Promise<PGlite>`

Clones the current instance. This is useful when a series of operations, like unit or integration test, need to be run on the same database without having to recreate the database each time, or for each test.

## Properties

### ready
Expand Down

0 comments on commit 71a04e0

Please sign in to comment.