Skip to content

Commit 3b502cd

Browse files
Update scripting docs now that nbb-logseq
has db-version docs
1 parent e758fdf commit 3b502cd

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

db-version.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -454,11 +454,7 @@ For developers, this shareable EDN data can also be used in scripts to create or
454454

455455
## Scripting
456456

457-
DB graphs are scriptable using https://github.com/logseq/nbb-logseq/tree/feat/db. Scripts can both read and _write any_ data in a DB graph. To write your own script, you'll need a package.json and nbb.edn. Use [this example package.json](https://github.com/logseq/publish-spa/blob/feat/db/package.json) and [this example nbb.edn](https://github.com/logseq/publish-spa/blob/feat/db/nbb.edn). Some example scripts:
458-
459-
* https://github.com/logseq/logseq/tree/master/deps/db/script - Scripts to query, validate and create any graph
460-
* https://github.com/logseq/logseq/blob/master/deps/outliner/script/transact.cljs - Script to transact (modify) nodes queried from the commandline
461-
* https://github.com/logseq/logseq/tree/master/scripts/src/logseq/tasks/db_graph - More complex scripts to generate graphs with all property types or with schema.org's ontology. See [this readme](https://github.com/logseq/logseq/tree/master/scripts#nbb-scripts) for using these.
457+
DB graphs are scriptable using https://github.com/logseq/nbb-logseq. Scripts can both read and _write any_ data in a DB graph. See https://github.com/logseq/nbb-logseq#database-version to get started.
462458

463459
### Modify a DB Graph
464460

0 commit comments

Comments
 (0)