Skip to content

Design async version of traits #53

@andygrove

Description

@andygrove

The initial PoC of RDBC was pretty naive and copied from ODBC/JDBC and is not idiomatic Rust code. This issue has been created to discuss how to create an idiomatic Rust set of traits using async for the project.

Specific issues with the current traits:

  • Not async
  • Data access does not use generics and instead has one accessor method per datatype e.g. get_i32()
  • There are ownership issues when trying to create more than one prepared statement per connection
  • There is no support for batch or columnar, but that can potentially be addressed later

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions