feat: add @seekdb/prisma-adapter and ORM examples (seekdb-drizzle, seekdb-prisma)#21
Merged
raindrop93 merged 4 commits intomainfrom Mar 19, 2026
Merged
Conversation
…ples (embedded first), expand Packages, remove TEST_CONFIG_OB
a027cde to
c922cdc
Compare
a2e751b to
6594999
Compare
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
@seekdb/prisma-adapter(Prisma driver adapter for seekdb Embedded) and two ORM examples (seekdb-drizzle, seekdb-prisma).SEEKDB_*; docs put embedded mode first, add OceanBase/tenant section, expand Packages table; removeTEST_CONFIG_OB; factory only passestenantwhen set.Changes
1. @seekdb/prisma-adapter
packages/prisma-adapter— adapter (client.execute), conversion, tests, README.new PrismaSeekdb(client)→new PrismaClient({ adapter }); Prisma ≥6, seekdb Embedded only.2. ORM examples
client.execute().DATABASE_URL; Embedded =@seekdb/prisma-adapter.index.ts/index-embedded.ts,shared.ts, README, package.json.3. Docs & config
4. Env & tenant
SEEKDB_HOST,SEEKDB_PORT,SEEKDB_USER,SEEKDB_PASSWORD,SEEKDB_DATABASE(CI, test-utils, .env.example). NoSEEKDB_TENANT; tenant fixed as"sys"in code where needed.tenantto client only when explicitly set (OceanBase); seekdb server uses internal default.Verify