Registry / database / mgclient

mgclient

JSON →
library1.5.0vcpkgunverified

C/C++ Memgraph Client

vcpkg install mgclient
INSTALL
IMPORT
SIG · MGCLIENT
M
mgclient
databasecppv1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mgclient.h
#include <mgclient.h>

Connect to a Memgraph database instance

#include <mgclient.h> #include <stdio.h> int main() { mg_connection *conn = mg_connect("127.0.0.1", 7687, NULL, NULL); if (conn) { printf("Connected to Memgraph.\n"); mg_disconnect(conn); } return 0; }
Debug
Known issues
gotchaRequires running Memgraph database server
fix
Start Memgraph server before connecting
affects: all
Upgrade
Version history
1.5.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources

No resource links recorded.