MCPcopy Create free account
hub / github.com/MaterializeInc/demos / main

Function main

connection-examples/nodejs/insert.js:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13const values = ['GH', 'GHANA'];
14
15async function main() {
16 await client.connect();
17 const res = await client.query(text, values);
18 console.log(res);
19}
20
21main();

Callers 1

insert.jsFile · 0.70

Calls 2

connectMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected