d1_dart 0.0.1 copy "d1_dart: ^0.0.1" to clipboard
d1_dart: ^0.0.1 copied to clipboard

A Dart client arounds Cloudflare D1 Database Rest API

D1 Dart #

shorebird ci style: very good analysis Powered by Mason License: MIT

A Dart client around Cloudflare D1 Database Rest API

Our top sponsors #

Check out these amazing sponsors that support my work!


Invertase

Become a featured sponsor!

Installation 💻 #

❗ In order to start using D1 Dart you must have the [Dart SDK][dart_install_link] installed on your machine.

Install via dart pub add:

dart pub add d1_dart

How to use it 🚀 #

final d1 = D1Client(
  accountId: accountId,
  cloudflareApiKey: cloudflareApiKey,
  databaseName: databaseName,
);

final response = await d1.query(sql);

for (final result in response.result) {
  for (final row in result.results) {
    print('Row: $row');
  }
}

0
likes
160
points
27
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart client arounds Cloudflare D1 Database Rest API

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

http

More

Packages that depend on d1_dart