typedb / typedb-console

TypeDB Console: CLI for TypeDB and TypeDB Cluster
https://typedb.com
Mozilla Public License 2.0
7 stars 16 forks source link

Load multiple files #11

Open grabl opened 5 years ago

grabl commented 5 years ago

This issue was originally posted by @haikalpribadi on 2017-06-27 18:14.

Editing multiple files is easier in terms of workflow so we (Miko & other ontology designers) currently do this:

graql.sh -k $2 -f $GRAQL/ldbc-snb-1-resources.gql -r $1 graql.sh -k $2 -f $GRAQL/ldbc-snb-2-relations.gql -r $1 graql.sh -k $2 -f $GRAQL/ldbc-snb-3-entities.gql -r $1 graql.sh -k $2 -f $GRAQL/ldbc-snb-4-rules.gql -r $1 Loading like this breaks in a load balanced environment though so it would be nice to have:

graql.sh -k $2 -r $1 -f $GRAQL/ldbc-snb-1-resources.gql -f $GRAQL/ldbc-snb-2-relations.gql etc

jamesreprise commented 1 year ago

It would be ideal if users could source multiple files simultaneously, e.g.:

source schema-resources.tql schema-entities.tql schema-relations.tql ...