opendbs 1.0.0 copy "opendbs: ^1.0.0" to clipboard
opendbs: ^1.0.0 copied to clipboard

Official Flutter/Dart client library for OpenDBS, the high-performance database with Node.js/Rust architecture.

OpenDBS Flutter Client #

Official Flutter/Dart client library for OpenDBS.

Installation #

Add this to your pubspec.yaml:

dependencies:
  opendbs:
    path: ./path/to/opendbs/libraries/flutter # or git url

Usage #

import 'package:opendbs/opendbs.dart';

void main() async {
  // Initialize
  final client = OpenDBS('http://localhost:4402');

  // Login
  await client.login('admin', 'admin123');

  // Create Database
  await client.createDatabase('shop');

  // Create Racks
  await client.createRack('shop', 'users', type: 'nosql');
  
  // Insert Data
  await client.insert('shop', 'users', {'name': 'Alice', 'role': 'admin'});

  // Find Data
  final users = await client.find('shop', 'users');
  print(users);
}
0
likes
0
points
--
downloads

Publisher

unverified uploader

Official Flutter/Dart client library for OpenDBS, the high-performance database with Node.js/Rust architecture.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on opendbs