Getting Started
D1-ORM is a library for Cloudflare's D1 Database product.
Advantages:
- Dependency-free
- Strictly typed, see TypeScript hints for your tables in your editor of choice
- Object oriented - use classes to interact with your items
- No SQL knowledge required
Installation¶
Use your preferred package manager to install the library, for example NPM.
Usage¶
Refer to the following guides for using the library.
Models
- The simpler, recommended interface to querying with advantages such as automatically-generated types based on your table structureQuery Building
- Advanced usage, not specific to D1Upserting
- What is it? How does it work?
API Reference¶
Refer to the Typedoc site
Last update:
September 9, 2023
Created: September 9, 2023
Created: September 9, 2023