Skip to content

socketry/db

Repository files navigation

DB

Provides event-driven asynchronous drivers for various database adaptors, including Postgres and MariaDB/MySQL.

Development Status

Features

  • Event driven I/O for streaming queries and results.
  • Standard interface for multiple database adapters.

Usage

Please see the project documentation for more details.

  • Getting Started - This guide explains how to use db for database queries.

  • Executing Queries - This guide explains how to escape and execute queries.

  • Example Queries - This guide shows a variety of example queries using the DB gem.

  • Data Types - This guide explains about SQL data types, and how they are used by the DB gem.

See Also

  • db-postgres - Postgres adapter for the DB gem.
  • db-mariadb - MariaDB/MySQL adapter for the DB gem.
  • db-model - A simple object relational mapper (ORM) for the DB gem.
  • db-migrate - Database migration tooling for the DB gem.
  • db-active_record - An ActiveRecord adapter for the DB gem.

Contributing

We welcome contributions to this project.

  1. Fork it.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create new Pull Request.

Developer Certificate of Origin

In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.

Community Guidelines

This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.

About

Event-driven database drivers for streaming queries.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages