├── .babel.cjs.json ├── .babel.mjs.json ├── .changeset ├── README.md └── config.json ├── .github └── workflows │ ├── main.yml │ └── pr.yaml ├── .gitignore ├── .npmrc ├── CHANGELOG.md ├── README.md ├── deps.rb ├── package.json ├── pnpm-lock.yaml ├── src ├── TaggedScope.ts ├── builders │ ├── drizzle.ts │ ├── drizzle │ │ └── pg.ts │ ├── kysely.ts │ └── kysely │ │ └── pg.ts ├── drivers │ └── pg.ts ├── errors.ts ├── index.ts ├── query.ts └── schema │ ├── kysely.ts │ └── pg.ts ├── test ├── helpers │ ├── index.ts │ ├── it.ts │ ├── json.ts │ ├── layer.ts │ ├── pg.drizzle.dsl.ts │ ├── pg.kysely.dsl.ts │ └── pg.schema.ts ├── migrations │ └── pg │ │ ├── 0000_overjoyed_sandman.sql │ │ ├── 0001_brainy_dexter_bennett.sql │ │ ├── 0002_cultured_red_skull.sql │ │ ├── 0003_medical_shooting_star.sql │ │ └── meta │ │ ├── 0000_snapshot.json │ │ ├── 0001_snapshot.json │ │ ├── 0002_snapshot.json │ │ ├── 0003_snapshot.json │ │ └── _journal.json ├── pg.drizzle.test.ts ├── pg.kysely.test.ts └── pg.test.ts ├── tsconfig.base.json ├── tsconfig.build.json ├── tsconfig.examples.json ├── tsconfig.json ├── tsconfig.madge.json ├── tsconfig.test.json └── vite.config.ts /.babel.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/.babel.cjs.json -------------------------------------------------------------------------------- /.babel.mjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/.babel.mjs.json -------------------------------------------------------------------------------- /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/pr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/.github/workflows/pr.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | auto-install-peers=true 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/README.md -------------------------------------------------------------------------------- /deps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/deps.rb -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/TaggedScope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/TaggedScope.ts -------------------------------------------------------------------------------- /src/builders/drizzle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/builders/drizzle.ts -------------------------------------------------------------------------------- /src/builders/drizzle/pg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/builders/drizzle/pg.ts -------------------------------------------------------------------------------- /src/builders/kysely.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/builders/kysely.ts -------------------------------------------------------------------------------- /src/builders/kysely/pg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/builders/kysely/pg.ts -------------------------------------------------------------------------------- /src/drivers/pg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/drivers/pg.ts -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /src/query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/query.ts -------------------------------------------------------------------------------- /src/schema/kysely.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/schema/kysely.ts -------------------------------------------------------------------------------- /src/schema/pg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/src/schema/pg.ts -------------------------------------------------------------------------------- /test/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/helpers/index.ts -------------------------------------------------------------------------------- /test/helpers/it.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/helpers/it.ts -------------------------------------------------------------------------------- /test/helpers/json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/helpers/json.ts -------------------------------------------------------------------------------- /test/helpers/layer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/helpers/layer.ts -------------------------------------------------------------------------------- /test/helpers/pg.drizzle.dsl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/helpers/pg.drizzle.dsl.ts -------------------------------------------------------------------------------- /test/helpers/pg.kysely.dsl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/helpers/pg.kysely.dsl.ts -------------------------------------------------------------------------------- /test/helpers/pg.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/helpers/pg.schema.ts -------------------------------------------------------------------------------- /test/migrations/pg/0000_overjoyed_sandman.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/0000_overjoyed_sandman.sql -------------------------------------------------------------------------------- /test/migrations/pg/0001_brainy_dexter_bennett.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/0001_brainy_dexter_bennett.sql -------------------------------------------------------------------------------- /test/migrations/pg/0002_cultured_red_skull.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/0002_cultured_red_skull.sql -------------------------------------------------------------------------------- /test/migrations/pg/0003_medical_shooting_star.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/0003_medical_shooting_star.sql -------------------------------------------------------------------------------- /test/migrations/pg/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/meta/0000_snapshot.json -------------------------------------------------------------------------------- /test/migrations/pg/meta/0001_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/meta/0001_snapshot.json -------------------------------------------------------------------------------- /test/migrations/pg/meta/0002_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/meta/0002_snapshot.json -------------------------------------------------------------------------------- /test/migrations/pg/meta/0003_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/meta/0003_snapshot.json -------------------------------------------------------------------------------- /test/migrations/pg/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/migrations/pg/meta/_journal.json -------------------------------------------------------------------------------- /test/pg.drizzle.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/pg.drizzle.test.ts -------------------------------------------------------------------------------- /test/pg.kysely.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/pg.kysely.test.ts -------------------------------------------------------------------------------- /test/pg.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/test/pg.test.ts -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/tsconfig.base.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/tsconfig.examples.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.madge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/tsconfig.madge.json -------------------------------------------------------------------------------- /tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/tsconfig.test.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pigoz/effect-sql/HEAD/vite.config.ts --------------------------------------------------------------------------------