From 4845cbae6add49680bb48d46fd1710d6e2679424 Mon Sep 17 00:00:00 2001 From: Chris <48462986+turnerdev@users.noreply.github.com> Date: Wed, 12 Jul 2023 18:45:10 -0700 Subject: [PATCH 1/6] add missing immutable_query arg in example.c --- cozo-lib-c/example.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cozo-lib-c/example.c b/cozo-lib-c/example.c index 7c11c7f8..2e0c21ea 100644 --- a/cozo-lib-c/example.c +++ b/cozo-lib-c/example.c @@ -12,7 +12,7 @@ void run_query(int32_t db_id, const char *query) { const char *empty_params = "{}"; char *res; - res = cozo_run_query(db_id, query, empty_params); + res = cozo_run_query(db_id, query, empty_params, false); printf("%s\n", res); cozo_free_str(res); } @@ -32,4 +32,4 @@ int main() { cozo_close_db(db_id); return 0; -} \ No newline at end of file +} From 214c6e6efcbbe94c0b8690c6bc58d42d6640e6ad Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 13 Jul 2023 01:52:38 +0000 Subject: [PATCH 2/6] @turnerdev has signed the CLA in cozodb/cozo#145 --- signatures/version1/cla.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/signatures/version1/cla.json b/signatures/version1/cla.json index fb7760e7..a1d669d3 100644 --- a/signatures/version1/cla.json +++ b/signatures/version1/cla.json @@ -31,6 +31,14 @@ "created_at": "2023-05-11T17:33:21Z", "repoId": 551374215, "pullRequestNo": 107 + }, + { + "name": "turnerdev", + "id": 48462986, + "comment_id": 1633419301, + "created_at": "2023-07-13T01:52:22Z", + "repoId": 551374215, + "pullRequestNo": 145 } ] } \ No newline at end of file From 53813738a77199603c362afc4bf006730aa036fc Mon Sep 17 00:00:00 2001 From: Petter Egesund Date: Wed, 19 Jul 2023 18:27:47 +0200 Subject: [PATCH 3/6] Update README.md Added link to Lisp api --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 576c3d02..2d65ded7 100644 --- a/README.md +++ b/README.md @@ -274,6 +274,7 @@ Follow the links in the table below: | [Golang](https://github.com/cozodb/cozo-lib-go) | Linux (x86_64, ARM64), Mac (ARM64, x86_64), Windows (x86_64) | MQR | | [C/C++/language with C FFI](./cozo-lib-c) | Linux (x86_64, ARM64), Mac (ARM64, x86_64), Windows (x86_64) | MQR | | [Standalone HTTP server](./cozo-bin) | Linux (x86_64, ARM64), Mac (ARM64, x86_64), Windows (x86_64) | MQRST | +| [Lisp](https://github.com/pegesund/cozodb-lisp) | Linux (x86_64 so far) | MR | For the storage column: From 5a5d60d6ecefca5ffd5033b2d2467a68d22874ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Jul 2023 16:40:16 +0000 Subject: [PATCH 4/6] @pegesund has signed the CLA in cozodb/cozo#151 --- signatures/version1/cla.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/signatures/version1/cla.json b/signatures/version1/cla.json index a1d669d3..2519f9f6 100644 --- a/signatures/version1/cla.json +++ b/signatures/version1/cla.json @@ -39,6 +39,14 @@ "created_at": "2023-07-13T01:52:22Z", "repoId": 551374215, "pullRequestNo": 145 + }, + { + "name": "pegesund", + "id": 198916, + "comment_id": 1642413475, + "created_at": "2023-07-19T16:39:15Z", + "repoId": 551374215, + "pullRequestNo": 151 } ] } \ No newline at end of file From 93d7fdf38d5bfa1a77b8444bee489cecf5e2befa Mon Sep 17 00:00:00 2001 From: Peter Saxton Date: Fri, 28 Jul 2023 22:39:27 +0200 Subject: [PATCH 5/6] make examples execute in order --- cozo-lib-nodejs/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cozo-lib-nodejs/README.md b/cozo-lib-nodejs/README.md index 92bcadd7..0909743c 100644 --- a/cozo-lib-nodejs/README.md +++ b/cozo-lib-nodejs/README.md @@ -24,14 +24,14 @@ const {CozoDb} = require('cozo-node') const db = new CozoDb() function printQuery(query, params) { - db.run(query, params) + return db.run(query, params) .then(data => console.log(data)) .catch(err => console.error(err.display || err.message)) } -printQuery("?[] <- [['hello', 'world!']]") -printQuery("?[] <- [['hello', 'world', $name]]", {"name": "JavaScript"}) -printQuery("?[a] <- [[1, 2]]") +await printQuery("?[] <- [['hello', 'world!']]") +await printQuery("?[] <- [['hello', 'world', $name]]", {"name": "JavaScript"}) +await printQuery("?[a] <- [[1, 2]]") ``` ### Basic API @@ -136,4 +136,4 @@ If you did everything correctly, you should get the hello world message printed node example.js ``` -under this directory. \ No newline at end of file +under this directory. From 4dd1276ccda41b58f0a13d39793fe40e84d95b96 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 28 Jul 2023 20:55:57 +0000 Subject: [PATCH 6/6] @CrowdHailer has signed the CLA in cozodb/cozo#164 --- signatures/version1/cla.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/signatures/version1/cla.json b/signatures/version1/cla.json index 2519f9f6..c1aa8832 100644 --- a/signatures/version1/cla.json +++ b/signatures/version1/cla.json @@ -47,6 +47,14 @@ "created_at": "2023-07-19T16:39:15Z", "repoId": 551374215, "pullRequestNo": 151 + }, + { + "name": "CrowdHailer", + "id": 5862302, + "comment_id": 1656326030, + "created_at": "2023-07-28T20:55:41Z", + "repoId": 551374215, + "pullRequestNo": 164 } ] } \ No newline at end of file