Agnostic API
Agnostic API
Our agnostic API is compatible with SQL and NoSQL databases
SQL friendly
SQL friendly
Use the SQL builder or raw SQL statements for advanced cases
ORM-like layer
ORM-like layer
An (optional) ORM-like layer is available for all your data modelling needs
Made for productivity
Made for productivity
The goal of upper/db
is to give you tools for the most common operations with databases and stay out of the way in more advanced cases. If you feel like writing tons of simple SELECT *
statements by hand is not the best use of your time, then upper/db
is the library for you.
Code sample
Code sample
We've designed the API with productivity and readability in mind.
The following snippet demonstrates how to connect to a database via thepostgresql
adapter.
Quick start: take the tour
Quick start: take the tour
We've prepared a learning playground with useful tips for you to try out upper/db
. Take the tour! :-)