{"_id":"pglite-prisma-adapter","_rev":"14-70e2478d9d9b52ade4fa2b495549bdaf","name":"pglite-prisma-adapter","dist-tags":{"latest":"0.7.2"},"versions":{"0.1.0":{"name":"pglite-prisma-adapter","version":"0.1.0","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.1.0","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"3f05983524ac52f7686bad0506250f81c8c13449","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.1.0.tgz","fileCount":8,"integrity":"sha512-hsDRQhXDv288apXJyLrY89IeAB0LsfG3yYot28OcmxDNleZN4YOmVQFvpmQ43bGLhUMl47NDzIsOPi2L4MzxAw==","signatures":[{"sig":"MEQCIAoTG32QeQsTuvb4oPh5J3vxm3gFxLDTj3P4BcQVBGePAiA8zCTaxw0h7PqOCUt8KIbLw1SzO+4R+cbD6Q9te5Atiw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44514},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.1.0.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/private/var/folders/m8/l9pwjkf575lgsdj_9wghhhsw0000gn/T/57d68034c864325782058f722c88055c/pglite-prisma-adapter-0.1.0.tgz","_integrity":"sha512-hsDRQhXDv288apXJyLrY89IeAB0LsfG3yYot28OcmxDNleZN4YOmVQFvpmQ43bGLhUMl47NDzIsOPi2L4MzxAw==","_npmVersion":"10.7.0","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"22.2.0","dependencies":{"@prisma/driver-adapter-utils":"5.14.0"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.2.2","@types/node":"^20.5.1","@electric-sql/pglite":"^0.1.5"},"peerDependencies":{"@electric-sql/pglite":">= 0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.1.0_1717033564150_0.4701441897204566","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"pglite-prisma-adapter","version":"0.1.1","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.1.1","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"45903fe88753e8b678ce4e4084aaeb2700c9d540","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.1.1.tgz","fileCount":6,"integrity":"sha512-plWW9UIMzPWG8MSUS1TvbmFJWCwY2vHHv/puqsKjGCz5rkVmKL+S2qphvQ/NXjjgPefgDloCdetVlnlnpRTzAA==","signatures":[{"sig":"MEUCIHsztAG6qCxk8wYSzjEdE8YTOHMii4KobPM8i6/I0586AiEA4pqMuypqh8X+kmJpOY2BGrJ0uz3WLwJUAzgmGS5RhzI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30245},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.1.1.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/78d86d5bfc1c32ce575848e98bb4a00f/pglite-prisma-adapter-0.1.1.tgz","_integrity":"sha512-plWW9UIMzPWG8MSUS1TvbmFJWCwY2vHHv/puqsKjGCz5rkVmKL+S2qphvQ/NXjjgPefgDloCdetVlnlnpRTzAA==","_npmVersion":"10.5.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","dependencies":{"@prisma/driver-adapter-utils":"5.14.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.2.2","@types/node":"^20.5.1","@electric-sql/pglite":"^0.1.5"},"peerDependencies":{"@electric-sql/pglite":">= 0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.1.1_1717119539694_0.5217846803438528","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"pglite-prisma-adapter","version":"0.1.2","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.1.2","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"37babe273409f07f90a10f39971e70fab0659035","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.1.2.tgz","fileCount":6,"integrity":"sha512-baEtZgJAk02ou/puQy/vOT3oGGShjKUJXXQFyAquniQmKu6D5sFPWk9/eMfJ5m/MxPKesz+4oXt20POm6ZGn3w==","signatures":[{"sig":"MEUCICiJSoJ2TeGjxoJtqmdnn69a4H9oxepZQa7zxg9K1eOsAiEAw3Eyks2sLo+utdFGVBZM6Iyn3dtYq8W3+NToyUP2XFE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30543},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.1.2.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/caeea3738eee40d610350538ad2f36d4/pglite-prisma-adapter-0.1.2.tgz","_integrity":"sha512-baEtZgJAk02ou/puQy/vOT3oGGShjKUJXXQFyAquniQmKu6D5sFPWk9/eMfJ5m/MxPKesz+4oXt20POm6ZGn3w==","_npmVersion":"10.5.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","dependencies":{"@prisma/driver-adapter-utils":"5.14.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.2.2","@types/node":"^20.5.1","@electric-sql/pglite":"^0.1.5"},"peerDependencies":{"@electric-sql/pglite":">= 0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.1.2_1717215051736_0.30079889993892506","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"pglite-prisma-adapter","version":"0.1.3","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.1.3","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"4404c83a8d3441acfaecd87d296df122de07264e","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.1.3.tgz","fileCount":6,"integrity":"sha512-ihUgkAC+dVpQT6QAoj9kNp93PpoekBTt+qL+Qnc/Lf5cc1rVjECLhETcnFBgyKv4PPs6AXdA0T41W2EO16m5Ug==","signatures":[{"sig":"MEUCIQD4kRNbcoZrixh2tVSfUwM+5L6qAa/nSQeLr/l/oSdIkAIgJyQh8pJ8Fgx5lWIRTpNd0FZOvA4sFTMUhidoDEp9BdU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30682},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.1.3.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/18e4331654e09a95a3758efeee2754d7/pglite-prisma-adapter-0.1.3.tgz","_integrity":"sha512-ihUgkAC+dVpQT6QAoj9kNp93PpoekBTt+qL+Qnc/Lf5cc1rVjECLhETcnFBgyKv4PPs6AXdA0T41W2EO16m5Ug==","_npmVersion":"10.5.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","dependencies":{"@prisma/driver-adapter-utils":"5.14.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.2.2","@types/node":"^20.5.1","@electric-sql/pglite":"^0.1.5"},"peerDependencies":{"@electric-sql/pglite":">= 0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.1.3_1717215586817_0.8498051650904879","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"pglite-prisma-adapter","version":"0.2.0","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.2.0","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"6f88cb04d508111a4342b00c849837941eee7da1","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.2.0.tgz","fileCount":6,"integrity":"sha512-O/QZtBtgHxzP3nyJeYtt6kvGq+ZV9Q/iYlHC23KkFzKH3wEVB/DnBm//MgPKgyCe/U7cdrazky+PG5bWWsfDsQ==","signatures":[{"sig":"MEUCIEgscjGdq1uo/ibUg56Iwvv0nfDqjfNfJqXb+NQ3A5d9AiEApBY05ToYFPIfwLJg77d6lOU/9lqzZWHOLfLmQL898B4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30458},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.2.0.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/4a21ee6ff7a299e84a75ce7d6dcb195d/pglite-prisma-adapter-0.2.0.tgz","_integrity":"sha512-O/QZtBtgHxzP3nyJeYtt6kvGq+ZV9Q/iYlHC23KkFzKH3wEVB/DnBm//MgPKgyCe/U7cdrazky+PG5bWWsfDsQ==","_npmVersion":"10.7.0","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"20.15.0","dependencies":{"@prisma/driver-adapter-utils":"5.14.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.2.2","@types/node":"^20.5.1","@electric-sql/pglite":"^0.1.5"},"peerDependencies":{"@electric-sql/pglite":">= 0.1.5"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.2.0_1720139435068_0.45925868637743705","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"pglite-prisma-adapter","version":"0.3.0","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.3.0","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"3ed70ba7fe8ffef497ffc8d86e78df21216e9106","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.3.0.tgz","fileCount":6,"integrity":"sha512-BjyMmzUGwfzIPY/2BZvLUcKXJPitkJK5dHrG89Y0xrfcPpD2QSLR6rMCavnCgrJqyzQiQorwAChbniVbquiebQ==","signatures":[{"sig":"MEQCIF13XYlvDfMBFrQ9MD+9g1p6VLRhR10yE2EgiH33ACmCAiBatw5OBJpISlHeGuy0psumvBfCoETDGhF5OdJ4IKYP0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30974},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.3.0.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/6cdd7b90ebdef3cf145721b57b407f6a/pglite-prisma-adapter-0.3.0.tgz","_integrity":"sha512-BjyMmzUGwfzIPY/2BZvLUcKXJPitkJK5dHrG89Y0xrfcPpD2QSLR6rMCavnCgrJqyzQiQorwAChbniVbquiebQ==","_npmVersion":"10.8.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"@prisma/driver-adapter-utils":"5.20.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.6.2","@types/node":"^20.5.1","@electric-sql/pglite":"^0.2.9"},"peerDependencies":{"@electric-sql/pglite":">= 0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.3.0_1727639084973_0.25409128842980944","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"pglite-prisma-adapter","version":"0.4.0","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.4.0","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"d7ffe3c9405189f156b37eaa33a064482803668d","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.4.0.tgz","fileCount":6,"integrity":"sha512-MXDJZibrUCS++x+RGRcqQXPZH8SJ4rVw7rqtWyGRy4GkuqeRKocgSIk/G+NMEJ3TGSuJHn98YvvIBhFSTvMTxg==","signatures":[{"sig":"MEUCIQDO8EchMakZLtdCtHO1sey/gyV0Myw9Bc9MGVO4sV3/BgIgfwx9gDmqJ5S9MhjZ31IDz7ghLFn/UaQYJZWV2+7xxHY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31230},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.4.0.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/2b375a7c6b67e2fae0ff9b8ec86df67f/pglite-prisma-adapter-0.4.0.tgz","_integrity":"sha512-MXDJZibrUCS++x+RGRcqQXPZH8SJ4rVw7rqtWyGRy4GkuqeRKocgSIk/G+NMEJ3TGSuJHn98YvvIBhFSTvMTxg==","_npmVersion":"10.9.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@prisma/driver-adapter-utils":"^6.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.8.2","@types/node":"^22.13.14","@electric-sql/pglite":"^0.2.17"},"peerDependencies":{"@prisma/client":">= 6.5.0","@electric-sql/pglite":">= 0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.4.0_1743352925931_0.04945758327446548","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"pglite-prisma-adapter","version":"0.4.1","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.4.1","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"c3817fe62b83c3d317a0aee70e8c189d9e7b0134","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.4.1.tgz","fileCount":6,"integrity":"sha512-tVuedyrRm8JqOQP80y7qI9fole53M+SyEsBIuGUPdZQpCLhYnpWON5u+0VYkL7NIBBPOanYeyJpy8mmY9N648Q==","signatures":[{"sig":"MEUCIQDr+AEXx3cnRaQ7eijK11sKZn1if9jLczRAqpI/WF5slgIgC2EsZrtCzJzvFyeFOIsojTnBqWIBCOSYvq59/m0otiw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31322},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.4.1.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/5027dd8b70f2b1738f69014ef112d3bb/pglite-prisma-adapter-0.4.1.tgz","_integrity":"sha512-tVuedyrRm8JqOQP80y7qI9fole53M+SyEsBIuGUPdZQpCLhYnpWON5u+0VYkL7NIBBPOanYeyJpy8mmY9N648Q==","_npmVersion":"10.9.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"@prisma/driver-adapter-utils":"^6.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.8.2","@types/node":"^22.13.14","@electric-sql/pglite":"^0.2.17"},"peerDependencies":{"@prisma/client":">= 6.5.0","@electric-sql/pglite":">= 0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.4.1_1743611545707_0.588447417058066","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"pglite-prisma-adapter","version":"0.5.0","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.5.0","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"3b458d0f4a2cfa5655be77a12a3ec2c78166c763","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.5.0.tgz","fileCount":6,"integrity":"sha512-QUPcmcdn1PelEgSEdJ0PtH6Cj3tfTLCj2b4jsFrri58J+4CefOwrhea0ei/LuTSs9oPGxU7Yk65xhKfGxgLdeQ==","signatures":[{"sig":"MEUCIQClg6vZ3cYN1IOadx2I/xyKyeC45v+HZcSn5EhdiEmZtQIgNdnkriYQmikk2N0Y9tdKFtht9c9y+8phwVSsDwe9Abo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31299},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.5.0.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/114cf6e0245d66df99f8557ab0d13ddf/pglite-prisma-adapter-0.5.0.tgz","_integrity":"sha512-QUPcmcdn1PelEgSEdJ0PtH6Cj3tfTLCj2b4jsFrri58J+4CefOwrhea0ei/LuTSs9oPGxU7Yk65xhKfGxgLdeQ==","_npmVersion":"10.9.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"postgres-array":"^3.0.4","@prisma/driver-adapter-utils":"^6.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.8.2","@types/node":"^22.13.14","@electric-sql/pglite":"^0.2.17"},"peerDependencies":{"@prisma/client":">= 6.5.0","@electric-sql/pglite":">=0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.5.0_1744487285045_0.39019469903313286","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"pglite-prisma-adapter","version":"0.6.0","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"Apache-2.0","_id":"pglite-prisma-adapter@0.6.0","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"dist":{"shasum":"ec90fa5809fae47a7ace9e9c17bc7743ebd2bf6a","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.6.0.tgz","fileCount":6,"integrity":"sha512-eY425VlaPVpTipY7V2M7hJ90Hq/QWe7Zt8F06OrmMeXoBeALfxAIl04K4zPPEfRlQgBJBHdi40KEwV3NPvh1ww==","signatures":[{"sig":"MEQCIEWtsaI6XQO5MKo1RffATQnhXaezp8xhl//kWCf1/yKnAiBeIi+pgnb9awW/EhCmga2dByhMvtCE+pzgzHpNnSHfkw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34029},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.6.0.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","actor":{"name":"thevenet","type":"user","email":"lucastcervantes@gmail.com"},"email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/000aea23dd2dc6fc4fefdaa96494de71/pglite-prisma-adapter-0.6.0.tgz","_integrity":"sha512-eY425VlaPVpTipY7V2M7hJ90Hq/QWe7Zt8F06OrmMeXoBeALfxAIl04K4zPPEfRlQgBJBHdi40KEwV3NPvh1ww==","_npmVersion":"10.9.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"postgres-array":"^3.0.4","@prisma/driver-adapter-utils":"6.10.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.8.2","@types/node":"^22.13.14","@electric-sql/pglite":"^0.2.17"},"peerDependencies":{"@prisma/client":">= 6.10.0","@electric-sql/pglite":">=0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.6.0_1750448417714_0.478806315882196","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"pglite-prisma-adapter","version":"0.6.1","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"MIT","_id":"pglite-prisma-adapter@0.6.1","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"homepage":"https://github.com/lucasthevenet/pglite-utils#readme","bugs":{"url":"https://github.com/lucasthevenet/pglite-utils/issues"},"dist":{"shasum":"1fdf3b9905b41958e301969c779526eb3657fb9d","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.6.1.tgz","fileCount":6,"integrity":"sha512-Qb2rVecLSSngq+xPBLzMcqFkrCgCXNi2cuVAa009kOMiinqUmdGkEw6ZKpL0zeiEc9+YbLOy3PY8uKtMPA4P3Q==","signatures":[{"sig":"MEUCIQDsvnfz8Qhn4+Lh7+VieULnBYLTCQEJO54z31IyyVVMyQIgLOZ4IGodXWS4Hg3CERGixYVpPn9NlHfj6qjwIeFkRs4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34175},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.6.1.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","actor":{"name":"thevenet","type":"user","email":"lucastcervantes@gmail.com"},"email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/4e3376b25663ae57d93eea41d29d41c0/pglite-prisma-adapter-0.6.1.tgz","_integrity":"sha512-Qb2rVecLSSngq+xPBLzMcqFkrCgCXNi2cuVAa009kOMiinqUmdGkEw6ZKpL0zeiEc9+YbLOy3PY8uKtMPA4P3Q==","repository":{"url":"git+https://github.com/lucasthevenet/pglite-utils.git","type":"git","directory":"packages/prisma-adapter"},"_npmVersion":"10.9.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"postgres-array":"^3.0.4","@prisma/driver-adapter-utils":"6.10.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.8.2","@types/node":"^22.13.14","@electric-sql/pglite":"^0.2.17"},"peerDependencies":{"@prisma/client":">= 6.10.0","@electric-sql/pglite":">=0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.6.1_1750610569893_0.07552984439770216","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"pglite-prisma-adapter","version":"0.7.0","keywords":["pglite","electric-sql","serverless","PostgreSQL","edge","Vercel","Cloudflare","Netlify","Bun","Deno","database","SQL","Prisma"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"MIT","_id":"pglite-prisma-adapter@0.7.0","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"homepage":"https://github.com/lucasthevenet/pglite-utils#readme","bugs":{"url":"https://github.com/lucasthevenet/pglite-utils/issues"},"dist":{"shasum":"b2c372d5930efeb3184a61c664249046d0f84269","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.7.0.tgz","fileCount":6,"integrity":"sha512-sSRtPDnq5keGu+pf6cY4HuUNrzAuSeTIfpv02U0oDkPu7egJQ7S55ht5h/8NehVe6883qDkgACKIDakY6DyB4w==","signatures":[{"sig":"MEQCIAoS4KbvvTKiqAnQAzWJBNVEUafInIz92hihIupmwSC/AiAurcSPoD5FNqVs8ioQvZ4Efn3LmhHTXB8wvX2Z/omM8w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34139},"main":"./dist/index.cjs","_from":"file:pglite-prisma-adapter-0.7.0.tgz","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"scripts":{"lint":"biome check ./src","build":"pkgroll","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"_resolved":"/tmp/300b21eb69a4f0af72a1c0dfd54ff0ce/pglite-prisma-adapter-0.7.0.tgz","_integrity":"sha512-sSRtPDnq5keGu+pf6cY4HuUNrzAuSeTIfpv02U0oDkPu7egJQ7S55ht5h/8NehVe6883qDkgACKIDakY6DyB4w==","repository":{"url":"git+https://github.com/lucasthevenet/pglite-utils.git","type":"git","directory":"packages/prisma-adapter"},"_npmVersion":"10.9.4","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"postgres-array":"^3.0.4","@prisma/driver-adapter-utils":"7.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pkgroll":"2.1.1","typescript":"^5.8.2","@types/node":"^22.13.14","@electric-sql/pglite":"^0.2.17"},"peerDependencies":{"@electric-sql/pglite":">=0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.7.0_1766990626489_0.3427471559830657","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"pglite-prisma-adapter","version":"0.7.1","keywords":["Bun","Cloudflare","Deno","Netlify","PostgreSQL","Prisma","SQL","Vercel","database","edge","electric-sql","pglite","serverless"],"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"MIT","_id":"pglite-prisma-adapter@0.7.1","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"homepage":"https://github.com/lucasthevenet/pglite-utils#readme","bugs":{"url":"https://github.com/lucasthevenet/pglite-utils/issues"},"dist":{"shasum":"73623e711462422e6cf29184db00f2697744f2e4","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.7.1.tgz","fileCount":6,"integrity":"sha512-4Ks3++0dmPiE3ao/FegmmJ86yXaTJASVvYEM4JQvz68NGgfcC5rmDF1r8cYne8rGYgdAxV6+n5FQUaPpvWIrFA==","signatures":[{"sig":"MEQCID5w8ZESFvAVfnO7clMyiYBM8K9sOXx9aGLOfzdLWpsRAiBrYoIj0pNhynAUWkoZCvOKPnWpxnFIFEA9PNBIgKsY2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40499},"main":"./dist/index.cjs","types":"./dist/index.d.cts","module":"./dist/index.mjs","exports":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"gitHead":"3f61303f0cbe681a82d01e1d49b0d882f73bbb20","scripts":{"lint":"oxlint","build":"tsdown --format esm --format cjs","clean":"rm -rf .turbo node_modules dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"repository":{"url":"git+https://github.com/lucasthevenet/pglite-utils.git","type":"git","directory":"packages/prisma-adapter"},"_npmVersion":"10.9.4","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"postgres-array":"^3.0.4","@prisma/driver-adapter-utils":"7.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.18.4","typescript":"^5.8.2","@types/node":"^22.13.14","@electric-sql/pglite":"^0.2.17"},"peerDependencies":{"@prisma/client":">= 7.1.0","@electric-sql/pglite":">=0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/pglite-prisma-adapter_0.7.1_1767209978836_0.5767005444032642","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"name":"pglite-prisma-adapter","version":"0.7.2","description":"Prisma's driver adapter for \"@electric-sql/pglite\"","keywords":["Bun","Cloudflare","Deno","Netlify","PostgreSQL","Prisma","SQL","Vercel","database","edge","electric-sql","pglite","serverless"],"license":"MIT","author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"repository":{"type":"git","url":"git+https://github.com/lucasthevenet/pglite-utils.git","directory":"packages/prisma-adapter"},"sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.cts","exports":{"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"publishConfig":{"access":"public"},"scripts":{"build":"tsdown --format esm --format cjs","clean":"rm -rf .turbo node_modules dist","lint":"oxlint","typecheck":"tsc --noEmit"},"dependencies":{"@prisma/driver-adapter-utils":"7.2.0","postgres-array":"^3.0.4"},"devDependencies":{"@electric-sql/pglite":"^0.2.17","@types/node":"^22.13.14","tsdown":"^0.18.4","typescript":"^5.8.2"},"peerDependencies":{"@electric-sql/pglite":">=0.2.0","@prisma/client":">= 7.1.0"},"_id":"pglite-prisma-adapter@0.7.2","gitHead":"97a566f7df47841845ff8e3c3a61f5b40f5a9e98","bugs":{"url":"https://github.com/lucasthevenet/pglite-utils/issues"},"homepage":"https://github.com/lucasthevenet/pglite-utils#readme","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-NqLXIUguFbgEHpIoyCvAbpEurbK+AUukiv96gIogVnNYWBdhAU0idfTXcJrsS7OdWenYa8QxEQM2ND1cTQrU4g==","shasum":"eba508e355bcc347fef280fc3957b7e8551aa86e","tarball":"https://registry.npmjs.org/pglite-prisma-adapter/-/pglite-prisma-adapter-0.7.2.tgz","fileCount":6,"unpackedSize":45465,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB6IDiJAklLlJ0YimBrPwRAK95Ex3EJi34u2RrJ1NNaWAiBtvRLvPMq6qbuxMOmpnhjBRBxvWAeAPv/O+y3532lxow=="}]},"_npmUser":{"name":"thevenet","email":"lucastcervantes@gmail.com"},"directories":{},"maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pglite-prisma-adapter_0.7.2_1768680079274_0.09783568938783493"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-30T01:46:04.009Z","modified":"2026-01-17T20:01:19.523Z","0.1.0":"2024-05-30T01:46:04.329Z","0.1.1":"2024-05-31T01:38:59.868Z","0.1.2":"2024-06-01T04:10:51.877Z","0.1.3":"2024-06-01T04:19:46.973Z","0.2.0":"2024-07-05T00:30:35.199Z","0.3.0":"2024-09-29T19:44:45.179Z","0.4.0":"2025-03-30T16:42:06.110Z","0.4.1":"2025-04-02T16:32:26.021Z","0.5.0":"2025-04-12T19:48:05.300Z","0.6.0":"2025-06-20T19:40:17.908Z","0.6.1":"2025-06-22T16:42:50.050Z","0.7.0":"2025-12-29T06:43:46.628Z","0.7.1":"2025-12-31T19:39:38.962Z","0.7.2":"2026-01-17T20:01:19.418Z"},"bugs":{"url":"https://github.com/lucasthevenet/pglite-utils/issues"},"author":{"name":"Lucas Thevenet","email":"lcervantes@dc.uba.ar"},"license":"MIT","homepage":"https://github.com/lucasthevenet/pglite-utils#readme","keywords":["Bun","Cloudflare","Deno","Netlify","PostgreSQL","Prisma","SQL","Vercel","database","edge","electric-sql","pglite","serverless"],"repository":{"type":"git","url":"git+https://github.com/lucasthevenet/pglite-utils.git","directory":"packages/prisma-adapter"},"description":"Prisma's driver adapter for \"@electric-sql/pglite\"","maintainers":[{"name":"thevenet","email":"lucastcervantes@gmail.com"}],"readme":"# pglite-prisma-adapter\n\nA Prisma driver adapter for [PGlite](https://github.com/electric-sql/pglite) - the embedded PostgreSQL database for JavaScript.\n\n## Overview\n\nThis adapter enables you to use Prisma ORM with PGlite, a serverless PostgreSQL database that runs in-process in Node.js applications. PGlite provides a fully SQL-compatible database without the need to run a database server.\n\n## Prerequisites\n\n- Node.js ≥ 18\n- [Prisma CLI](https://www.prisma.io/docs/concepts/components/prisma-cli) installed\n\n## Installation\n\nInstall the adapter and the PGlite driver:\n\n```bash\nnpm install pglite-prisma-adapter @electric-sql/pglite\n```\n\nOr using yarn:\n\n```bash\nyarn add pglite-prisma-adapter @electric-sql/pglite\n```\n\n## Configuration\n\n### Environment Setup\n\nCreate a `.env` file in your project root:\n\n```env\n# Path to the database directory (where PGlite will store its files)\nDATABASE_DIR=\"./some/path\"\n```\n\n### Prisma Schema Configuration\n\nCreate a `schema.prisma` file with the required configuration:\n\n```prisma\n// schema.prisma\ngenerator client {\n  provider        = \"prisma-client-js\"\n  previewFeatures = [\"driverAdapters\"]\n}\n\ndatasource db {\n  provider = \"postgres\"\n  // Note: This URL is required by Prisma but will be ignored when using the adapter\n  url      = \"postgresql://localhost:5432/mydb\"\n}\n\n// Define your models\nmodel User {\n  id    Int     @id @default(autoincrement())\n  email String? @unique(map: \"uniq_email\") @db.VarChar(255)\n  name  String? @db.VarChar(255)\n}\n```\n\n## Usage\n\n### Basic Queries\n\nHere's how to set up the adapter and run basic queries:\n\n```js\nimport { PGlite } from \"@electric-sql/pglite\";\nimport { PrismaPGlite } from \"pglite-prisma-adapter\";\nimport { PrismaClient } from \"@prisma/client\";\nimport \"dotenv/config\";\n\n// Initialize PGlite client with the database directory\nconst client = new PGlite(process.env.DATABASE_DIR);\n\n// Initialize the PGlite adapter for Prisma\nconst adapter = new PrismaPGlite(client);\n\n// Create Prisma client with the adapter\nconst prisma = new PrismaClient({ adapter });\n\nasync function main() {\n  // Create a new user\n  const user = await prisma.user.create({\n    data: {\n      email: \"user@example.com\",\n      name: \"Example User\",\n    },\n  });\n  console.log(\"Created user:\", user);\n\n  // Query all users\n  const users = await prisma.user.findMany();\n  console.log(\"All users:\", users);\n}\n\nmain()\n  .catch(console.error)\n  .finally(() => prisma.$disconnect());\n```\n\n### Transactions\n\nPGlite adapter supports Prisma transactions:\n\n```js\nimport { PGlite } from \"@electric-sql/pglite\";\nimport { PrismaPGlite } from \"pglite-prisma-adapter\";\nimport { PrismaClient } from \"@prisma/client\";\nimport \"dotenv/config\";\n\nconst client = new PGlite(process.env.DATABASE_DIR);\nconst adapter = new PrismaPGlite(client);\nconst prisma = new PrismaClient({ adapter });\n\nasync function main() {\n  try {\n    // This transaction will fail because both operations create users with the same email\n    await prisma.$transaction([\n      prisma.user.create({\n        data: {\n          email: \"duplicate@example.com\",\n          name: \"User 1\",\n        },\n      }),\n      prisma.user.create({\n        data: {\n          email: \"duplicate@example.com\", // Same email, will cause a unique constraint violation\n          name: \"User 2\",\n        },\n      }),\n    ]);\n  } catch (error) {\n    console.log(\"Transaction failed as expected:\", error.message);\n\n    // This transaction will succeed\n    const result = await prisma.$transaction([\n      prisma.user.create({\n        data: {\n          email: \"user1@example.com\",\n          name: \"User 1\",\n        },\n      }),\n      prisma.user.create({\n        data: {\n          email: \"user2@example.com\",\n          name: \"User 2\",\n        },\n      }),\n    ]);\n\n    console.log(\"Successful transaction:\", result);\n  }\n}\n\nmain()\n  .catch(console.error)\n  .finally(() => prisma.$disconnect());\n```\n\n## Schema Management\n\nPGlite adapter supports Prisma Early Access migration commands, similar to Cloudflare D1 and Turso/LibSQL adapters.\n\n### Migration Setup\n\nCreate a `prisma.config.ts` file in your project root:\n\n```typescript\n// prisma.config.ts\nimport path from \"node:path\";\nimport type { PrismaConfig } from \"prisma\";\nimport { PGlite } from \"@electric-sql/pglite\";\nimport { PrismaPGlite } from \"pglite-prisma-adapter\";\nimport \"dotenv/config\";\n\ntype Env = {\n  DATABASE_DIR: string;\n};\n\nexport default {\n  earlyAccess: true,\n  schema: path.join(\"prisma\", \"schema.prisma\"),\n  migrate: {\n    async adapter(env) {\n      const client = new PGlite({ dataDir: env.DATABASE_DIR });\n      return new PrismaPGlite(client);\n    },\n  },\n  studio: {\n    async adapter(env) {\n      const client = new PGlite({ dataDir: env.DATABASE_DIR });\n      return new PrismaPGlite(client);\n    },\n  },\n} satisfies PrismaConfig<Env>;\n```\n\n### Supported Migration Commands\n\nWith the configuration above, you can use these Prisma commands:\n\n| Command                   | Description                                                  |\n| ------------------------- | ------------------------------------------------------------ |\n| `npx prisma db push`      | Updates your database schema based on your Prisma schema     |\n| `npx prisma db pull`      | Introspects your database and updates your Prisma schema     |\n| `npx prisma migrate diff` | Shows the difference between your database and Prisma schema |\n| `npx prisma studio`       | Opens Prisma Studio to interact with your database           |\n\n> **Note:** Support for `prisma migrate dev` and `prisma migrate deploy` is planned for future updates.\n\n## Limitations\n\n- This adapter supports Prisma Client for all CRUD operations\n- Prisma migrations are supported via Early Access commands\n- Some advanced Prisma features may not be fully supported yet\n\n## Examples\n\nFor more detailed examples, check the [examples directory](https://github.com/electric-sql/pglite) in the PGlite repository.\n\n## Credits\n\nThis adapter is based on:\n\n- [@tidbcloud/prisma-adapter](https://github.com/tidbcloud/prisma-adapter)\n- [@prisma/adapter-pg](https://github.com/prisma/prisma/tree/main/packages/adapter-pg)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}