nebula_dart_gdbc 0.0.4+6 copy "nebula_dart_gdbc: ^0.0.4+6" to clipboard
nebula_dart_gdbc: ^0.0.4+6 copied to clipboard

A database driver for nebula graph based on dart_gdbc, help you to access nebula graph in dart language

nebula_dart_gdbc #

这是一个基于 dart_gdbc 规范下,nebula-graph 图数据库的 dart 客户端实现。(开发中)

Usage #

dart pub add nebula_dart_gdbc
// use driver

import 'package:nebula_dart_gdbc/nebula_dart_gdbc.dart';

void main(List<String> args) async {
  DriverManager.registerDriver(NgDriver());

  var conn = await DriverManager.getConnection(
    'gdbc.nebula://127.0.0.1:9669/?username=root&password=nebula&space=test&timeout=1000',
  );

  var stmt = await conn.createStatement();
  var rs = await stmt.executeQuery('SHOW SPACES;');

  print(rs);
  await conn.close();
}

Licence #

nebula_dart_gdbc 遵循 Apache License, Version 2.0 开源协议。

1
likes
155
pub points
49%
popularity

Publisher

verified publisherdudu.ltd

A database driver for nebula graph based on dart_gdbc, help you to access nebula graph in dart language

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dart_gdbc, dart_gdbc_pool, fbthrift

More

Packages that depend on nebula_dart_gdbc