docs: sync MDX content with implementation

This commit is contained in:
t8y2
2026-05-17 11:35:15 +08:00
parent 71f9f11eec
commit 3337826b89
37 changed files with 738 additions and 218 deletions
+5
View File
@@ -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.