fauna/fauna-shell

fauna eval --file can't run multiple queries

evrys opened this issue · 1 comments

evrys commented

I'd like to use fauna eval to reset my dev database by issuing some CreateCollection commands, but it doesn't seem to work, hmm.

Command: fauna eval db --file schema.fql --endpoint=localhost
Output: Error: Line 2: Unexpected identifier

schema.fql contains:

CreateCollection({ name: "patterns" })
CreateCollection({ name: "users" })

Internal ticket number is OSS-923