nebula_dart_gdbc 0.0.3+2 nebula_dart_gdbc: ^0.0.3+2 copied to clipboard
A database driver for nebula graph based on dart_gdbc, help you to access nebula graph in dart language
0.0.3+2 #
- 修复:结果解析中,对 none 类型进行处理,并按 nVal 的值进行解析,给出对空值的解释,如:BAD_TYPE
0.0.3 #
- 新特性:支持获取执行计划
0.0.2+4 #
- 升级依赖库
0.0.2+3 #
- 修复:当出现未知类型时,返回null,原来是 Value()
0.0.1+1 #
- 支持在创建连接如指定了默认的space,则自动使用该space
- 适配dart_gdbc v0.0.1+3
- 修改了Statement的接口
- PreparedStatement支持gql参数渲染回调函数
stmt = await conn?.prepareStatement( 'MATCH (n:person) WHERE id(n) == '{name}' RETURN n LIMIT 30', render: (gql, param) => gql.replaceAll('{name}', param?['name']), // 可以自行指定顺手的字符串模板来替换 ); var rs = await stmt?.executeQuery(params: {'name': '张小南'}); rs = await stmt?.executeQuery(params: {'name': '吴小极'});
- 完善PreparedStatement的带参实现
- 拓展方法
- string.bytes 获取 Int8List
- string.utf8code 获取Utf8编码的Int8List
- int8List.utf8string 获取Utf8编码的String
0.0.1 #
- 提供nebulagraph的驱动