TypeDB Go Driver is not implemented yet. This repository contains proofs of concept, including driver's library build
phase and basic database manipulation functionality. A usage example could be found
in driver_proof_of_concept.go (database creation and deletion).
- BUILD expects manual actions to build on a specific machine and is not fully automated yet (more details below and inside the file)
- Only basic connection and database manipulation features are implemented and not tested
- There is no resource management, exceptions handling and some of the needed Rust structs wrappers on the SWIG side
- Run
bazel build //go:libtypedb_driver_go_native - Uncomment
driver-go(anddriver-temp-exe) targets in BUILD - Specify your local path to the
typedb_driver_go_nativedynamic library instead of$TYPEDB_DRIVER_PATH/typedb-driver/bazel-bin/go - Run
bazel build //go:driver-go(orbazel run //go:driver-temp-exe). Make sure that you have aTypeDBserver running to connect to it
bazel build //go:libtypedb_driver_go_native
bazel build //go:driver-go