Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Named bind variables #28

Description

@bcowgill

Perl's DBI module supports named bind parameters instead of ordered ? marks.
Is node-dbi trying to be like perl's DBI and would it be possible to have named bind parameters?

query: "SELECT count(*) as num_posters FROM posters WHERE uid < :UID;"

something like:
fetchAll(query, { UID: 12 }, fn);

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