Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs/manual/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@

## 12.1 From SQLite

- **SQL dialect**: SharpCoreDB implements a SQLite-compatible dialect subset — `INTEGER PRIMARY
KEY` rowid alias, `_rowid`, `COLLATE`, `INSERT OR REPLACE`-style semantics — so most DDL/DML
ports with minimal changes.
- **SQL dialect**: SharpCoreDB implements a SQLite-compatible dialect — `INTEGER PRIMARY KEY` as the
rowid alias, the hidden `_rowid` column, `COLLATE`, `PRAGMA table_info`, `information_schema` and the
usual `SELECT`/`INSERT`/`UPDATE`/`DELETE` surface — so most DDL/DML ports with minimal changes.
**Not** supported (measured 2026-12-06 on both storage modes; see
[`../storage/SINGLE_FILE_SQL_LIMITATIONS.md`](../storage/SINGLE_FILE_SQL_LIMITATIONS.md)): the
`INSERT OR IGNORE` / `INSERT OR REPLACE` / `REPLACE INTO` spellings (`Unsupported SQL statement`),
`BEGIN`/`COMMIT`/`ROLLBACK` as SQL text (use the transaction API), and `NOT (…)` / `NOT IN` around a
nullable column. Port an `INSERT OR REPLACE` as a `SELECT` followed by an `UPDATE` or `INSERT`.
- **Data**: use the built-in migration tooling in `docs/migration/MIGRATION_GUIDE.md` to copy
tables and rows programmatically.
- **Vectors**: replace SQLite vector extensions with `SharpCoreDB.VectorSearch`
Expand Down
Loading