Files
metabuilder/dbal
copilot-swe-agent[bot] aa8d2897e2 Revert incorrect InstalledPackage field additions per PR review
- Remove id field: InstalledPackage uses packageId as @id primary key
- Remove updatedAt field: Not defined in Prisma schema
- Revert tenantId back to null: 'default' tenant may not exist
- Schema defines: packageId @id, tenantId?, installedAt, version, enabled, config?

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-16 16:48:30 +00:00
..

DBAL - Database Abstraction Layer

A language-agnostic database abstraction layer that provides a secure interface between client applications and database backends.

Structure

dbal/
├── development/     # TypeScript implementation (fast iteration)
├── production/      # C++ implementation (security & performance)
├── shared/          # Shared resources (API specs, tools, etc.)
└── docs/            # Documentation

Development

TypeScript (Development)

cd development
npm install
npm run build
npm test

C++ (Production)

cd production
# See production/docs/ for C++ build instructions

Shared Resources

  • API Schemas: shared/api/schema/
  • Tools: shared/tools/ (codegen, build assistant)
  • Scripts: shared/scripts/ (build, test)

License

MIT - See LICENSE file.