Skip to content

Commit ebaa63c

Browse files
add importer limitations section
1 parent 84f3d8b commit ebaa63c

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

db-version.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -411,14 +411,6 @@ The DB Graph Importer converts a file graph to a DB graph. An overview of what i
411411
* Tags are removed from their blocks when the `Remove inline tags` checkbox is checked. This matches the behavior of the DB version.
412412
* Property types are automatically detected for Number, Date, Checkbox, Url, Node and Text. If a property value has two conflicting but compatible types like Number and Text, it will choose the more lenient Text type.
413413

414-
### Importer Todos
415-
416-
There are existing features that have a database equivalent that are still a TODO for the importer:
417-
* Import text files e.g. *.txt or *.edn
418-
* Query macros and related query filters that have changed
419-
* Import templates
420-
* Import org mode files
421-
422414
### Convert File Graph to DB graph
423415

424416
* Click on the three dots menu in the upper right corner and select `Import`.
@@ -432,6 +424,20 @@ There are existing features that have a database equivalent that are still a TOD
432424
1. `Import additional tags from property values` - This input converts property values for the specified property/properties to the new tags. For example, in the official docs graph the [type property](https://docs.logseq.com/#/page/type) is used this way. This means that all `type` property values like [Feature](https://docs.logseq.com/#/page/feature) on [this page](https://docs.logseq.com/#/page/code%20block) would get converted to a new tag.
433425
1. `Import tag parents from property values` - This input converts property values for the specified property to be [a parent of a new tag](#parent-tags). For example, in the official docs graph the [parent property](https://docs.logseq.com/#/page/parent) is used this way. This means that all `parent` property values like [Thing](https://docs.logseq.com/#/page/thing) on [this page](https://docs.logseq.com/#/page/feature) would get converted to a new tag.
434426

427+
### Importer Todos
428+
429+
There are existing features that have a database equivalent that are still a TODO for the importer:
430+
* Import text files e.g. *.txt or *.edn
431+
* Query macros and related query filters that have changed
432+
* Import templates
433+
* Import org mode files
434+
435+
### Importer Limitations
436+
437+
The importer does its best to import all file graph content and loudly error or warn when something doesn't fully import. The only exceptions to that are the following cases:
438+
* A block with multiple simple queries, multiple advanced queries, multiple embeds or multiple quotes only imports the first of these. This is because file graphs could have multiple of these in one block whereas DB graphs can only have one of these per block.
439+
* A block with a mix of simple queries, advanced queries, embeds or quotes only imports one of these. This is because file graphs could have multiple of these in one block whereas DB graphs can only have one of these per block.
440+
435441
## Automated Backup
436442

437443
An automated backup of graphs is available by clicking on the upper right three dots menu and selecting `Export Graph`. Within this modal, you can specify a folder (directory) to save backups. A backup folder can be reused across graphs as each graph gets its own folder within a backup folder. After choosing this folder, hourly backups begin. The last 12 backups are saved. This backup feature is currently only for the browser.

0 commit comments

Comments
 (0)