DB
Provides event-driven asynchronous drivers for various database adaptors, including Postgres and MariaDB/MySQL.
Features
- Event driven I/O for streaming queries and results.
- Standard interface for multiple database adapters.
Usage
Please browse the source code index or refer to the guides below.
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.
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - 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.