feat: add Microsoft Access driver with ODBC support and update skill references - #9
Open
Esteban040404 wants to merge 1 commit into
Open
feat: add Microsoft Access driver with ODBC support and update skill references#9Esteban040404 wants to merge 1 commit into
Esteban040404 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AccessDriverimplementing the fullIDatabaseDriverinterface via theodbcnpm package"access"as a supported engine infactory.ts(SupportedDbType)SKILL.mdto reflect all four supported engines (PostgreSQL, MySQL, SQLite, Access) including a feature support matrixmysql.md,sqlite.md,access.mdtools-reference.mdwith per-engine behavior notes forschemaparam,alterTable,createView,dropIndex, andcreateTriggerTechnical Notes
Driver (
src/drivers/access.ts)odbcpackage (ODBC bridge); Windows-only at runtime — requires the Microsoft Access Database Engine 2016Redistributable or an Office installation
.accdb/.mdb) and auto-constructs the ODBC connection string:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=<path>; also accepts full ODBC strings or DSN names[name](JET SQL convention)listIndexes/dropIndexusestatistics()via a typed runtime cast — theodbcpackage does not expose this catalog methodin its TypeScript definitions, but the underlying ODBC driver supports it; the call is wrapped in try/catch per table
dropIndexsearches all tables to find the owning table (required by JET'sDROP INDEX [name] ON [table]syntax)createView/dropViewsilently drop before recreating — JET SQL has noCREATE OR REPLACE VIEWdropTableis wrapped in try/catch (JET has noDROP TABLE IF EXISTS)schemas,triggers,functions,extensions,sequences,roles/grants(Access workgroup security is deprecated in
.accdb)renameToinalterTablethrows — JET SQL has noRENAME TABLE; workaround documented inaccess.mdSkill updates
SKILL.mddescription and engine notes updated; addedEngine Support Matrixtable and connection string examples per enginetools-reference.mdnow documents how theschemaparameter maps per engine and per-engine behavior differences for key toolsmysql.md,sqlite.md,access.mdare new reference files following the same structure aspostgres.md