Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 authored Jan 8, 2024
1 parent 627c7d8 commit 06967ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Stops polling the database for notifications, and waits for any inflight notific
#### filby.stop(): Promise<void>
Stops polling for notifications then disconnects from the database

#### filby.getProjections(): Promise<Projection>[]
#### filby.getProjections(): Promise<Projection[]>
Returns the list of projections.

#### filby.getProjection(name: string, version: number): Promise<Projection>
Expand All @@ -213,7 +213,7 @@ Returns the change log (an ordered list of change sets) for the given projection
#### filby.getChangeSet(changeSetId): Promise<ChangeSet>
Returns the specified change set

#### filby.withTransaction(callback: (client: PoolClient) => Promise&lt;T&gt;): Promise<T&gt;
#### filby.withTransaction(callback: (client: PoolClient) => Promise&lt;T&gt;): Promise&lt;T&gt;
Passes a transactional [node-pg client](https://node-postgres.com/) to the given callback. Use this to query the aggregate entities for your projections, e.g.

```sql
Expand Down

0 comments on commit 06967ce

Please sign in to comment.