Skip to content

Improved API for prepared statements #62

@tolbertam

Description

@tolbertam

There are a few inadequacies around prepared statements

  1. If a prime is created for a prepared statement w/ parameter matching, and then a user prepares and executes a query that doesn't match the parameters, they get an UNPREPARED response rather than the default empty response.

  2. If a prime is created with an error response, but there is a similar prime created with a success response, we should be able to adapt the metadata from the successful one for the response metadata.

  3. Can't explicitly state "This prime only applies to prepared statements"

Maybe it'd be a better idea to have a separate API for prepared statements. This needs to be fleshed out more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions