Skip to content

Improve pool use documentation? #198

@stephencelis

Description

@stephencelis

The README currently shows how to get a database from a pool:

let postgres = pool.database(logger: ...) // PostgresDatabase
let rows = try postgres.simpleQuery("SELECT version();").wait()

Should you go through pool whenever you want to query? Or can you keep postgres around and use it for all of your queries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions