# neurodb_arkts **Repository Path**: graph-cn/neurodb_arkts ## Basic Information - **Project Name**: neurodb_arkts - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-20 - **Last Updated**: 2024-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

NeuroDB ArkTS Driver

GitHub stars GitHub forks

NeuroDB 的 ArkTS 实现

--- ## 如何使用: ### 数据库安装 下载地址:https://neurodb.org/zh/download.html ```shell ohpm i @graph-cn/neurodb_arkts ``` ### 示例 ```extendtypescript import { NeuroDBDriver } from '@graph-cn/neurodb_arkts'; // Copyright (c) 2024- All neurodb_arkts authors. All rights reserved. // // This source code is licensed under Apache 2.0 License. function test() { try { let driver: NeuroDBDriver = new NeuroDBDriver({address: '172.20.0.234', port: 8839, family: 1}); let rs = await this.driver.executeQuery('MATCH (n)-[r]->(m) RETURN n, r, m') let rsJson = JSON.stringify(rs) console.info(rsJson) } catch (e) { console.error(e) } } ``` ### 权限 ```json { "requestPermissions": [ { "name": "ohos.permission.INTERNET" } ], } ``` ## 开源协议 项目遵循 [Apache License, Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) 开源协议。