blitz-orm
blitz-orm copied to clipboard
Add postgres adapter
[!IMPORTANT] Add PostgreSQL adapter with client support, configuration, schema, data, and tests, including PostgreSQL-specific query handling and limitations.
- PostgreSQL Adapter:
- Add PostgreSQL client support in
src/index.tsandqueryMachine.ts.- Implement PostgreSQL-specific query building and execution in
pg/build.ts,pg/machine.ts, andpg/run.ts.- Configuration:
- Add PostgreSQL configuration in
tests/adapters/postgresDB/mocks/config.ts.- Update
init.tsto include PostgreSQL test configuration.- Schema and Data:
- Create PostgreSQL schema in
schema.sqland data indata.sql.- Testing:
- Add
postgres.shfor setting up PostgreSQL test environment.- Modify
query.tsto include PostgreSQL-specific test cases and handle unsupported features.- Update
package.jsonto include PostgreSQL dependencies and test scripts.- Miscellaneous:
- Update
schema.tsto include PostgreSQL-specific configurations for roles and fields.This description was created by
for 288fd2ad49876cf572921c22d7d58dc11ac383a5. It will automatically update as commits are pushed.