docs: sync MDX content with implementation
This commit is contained in:
@@ -46,8 +46,13 @@ DBX reads SQL files as a stream and tries to detect statement boundaries correct
|
||||
- Semicolons inside strings are not treated as statement endings
|
||||
- Semicolons inside line and block comments are ignored
|
||||
- PostgreSQL dollar-quoted function bodies are kept together
|
||||
- SQL Server `GO` lines split batches
|
||||
- MySQL executable comments are prepared for the target connection before import: MySQL-compatible connections unwrap executable content, non-MySQL connections skip it, and import-helper directives such as `ENABLE/DISABLE KEYS`, `LOCK/UNLOCK TABLES`, and session state restores are skipped
|
||||
|
||||
## Database Coverage
|
||||
|
||||
SQL file execution is for SQL-oriented engines. DBX hides or disables it for Redis, MongoDB, and Elasticsearch because those connections do not execute relational SQL scripts.
|
||||
|
||||
## Error Handling
|
||||
|
||||
By default, execution stops when a statement fails. You can enable continue-on-error to keep running later statements while recording failures.
|
||||
|
||||
Reference in New Issue
Block a user