github.com/brandonmartin/migrate/v4@v4.14.2/database/neo4j/README.md (about) 1 # neo4j 2 The Neo4j driver (bolt) does not natively support executing multiple statements in a single query. To allow for multiple statements in a single migration, you can use the `x-multi-statement` param. 3 This mode splits the migration text into separately-executed statements by a semi-colon `;`. Thus `x-multi-statement` cannot be used when a statement in the migration contains a string with a semi-colon. 4 The queries **should** run in a single transaction, so partial migrations should not be a concern, but this is untested. 5 6 7 `neo4j://user:password@host:port/` 8 9 | URL Query | WithInstance Config | Description | 10 |------------|---------------------|-------------| 11 | `x-multi-statement` | `MultiStatement` | Enable multiple statements to be ran in a single migration (See note above) | 12 | `user` | Contained within `AuthConfig` | The user to sign in as | 13 | `password` | Contained within `AuthConfig` | The user's password | 14 | `host` | | The host to connect to. Values that start with / are for unix domain sockets. (default is localhost) | 15 | `port` | | The port to bind to. (default is 7687) | 16 | | `MigrationsLabel` | Name of the migrations node label | 17 18 ## Supported versions 19 20 Only Neo4j v3.5+ is [supported](https://github.com/neo4j/neo4j-go-driver/issues/64#issuecomment-625133600)