Skip to content

Multiple database driver adaptations to do list #4

@manyuanrong

Description

@manyuanrong

In order to achieve multiple database driven adaptation, we need to implement the following

  • src/drivers/base.ts Unified interface definition
  • src/drivers/mysql.ts MySQL adapter based on base.ts
  • src/drivers/postgres.ts Postgres adapter based on base.ts
  • src/dso.ts Do not import any driver, dynamically import the driver through the parameter of connect
  • mysql.ts At the same level as mod.ts, the export directly imports dso of MySQL driver
  • postgres.ts At the same level as mod.ts, the export directly imports dso of Postgress driver

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions