Skip to content

Export Database should allow to filter which types to export #788

@lvca

Description

@lvca

This new feature requires a change in the SQL grammar to get the settings to pass to the actual Exporter class. The following settings will be mutually exclusive:

  • includeTypes = <(type-name[,])*>
  • excludeTypes = <(type-name[,])*>

Example to export only the type Person (no matters if it's a vertex, edge or document type):

export database file://export.jsonl.tgz with `overwrite` = true, includeTypes = Person

Furthermore, the Exporter's current settings will make available to the SQL command:

  • overwrite to overwrite the output file in case it already exists. By default is false
  • file is the output file name. By default is arcadedb-export-<date>.jsonl.tgz for jsonl output file and arcadedb-backup-<date>.zip for backups
  • format is the output file format

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions