Skip to content

Using createConnection with an object? #82

Description

@joereynolds

I can see that in the docs it states that you don't have to pass a URL into anyDB.createConnection but that this can actually be an object so long as it follows a certain interface.

I can't find the allowed keys anywhere, I found one place where it mentioned adapter as the key but if that's the case, how do I specify 'host', 'user', 'password' etc...?

Is there a concrete implementation we can see somewhere?

I'm using Typescript if that affects anything so could it be a case of the types not being up to date?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions