testsinglestore.ts — drizzle-orm Source File
Architecture documentation for testsinglestore.ts, a typescript file in the drizzle-orm codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 2772b755_e7f2_bc0f_84bb_9cc8d372acb7["testsinglestore.ts"] fb6b4a65_030b_ce6b_df0d_2be21adcd2b3["schemaDiffer.ts"] 2772b755_e7f2_bc0f_84bb_9cc8d372acb7 --> fb6b4a65_030b_ce6b_df0d_2be21adcd2b3 71887843_e685_2fe9_f3a7_549f6e355d64["diffTestSchemasSingleStore"] 2772b755_e7f2_bc0f_84bb_9cc8d372acb7 --> 71887843_e685_2fe9_f3a7_549f6e355d64 b4539857_26bc_b042_0719_5e529c80f1b4["singlestore-core"] 2772b755_e7f2_bc0f_84bb_9cc8d372acb7 --> b4539857_26bc_b042_0719_5e529c80f1b4 style 2772b755_e7f2_bc0f_84bb_9cc8d372acb7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { index, singlestoreTable, text } from 'drizzle-orm/singlestore-core';
import { diffTestSchemasSingleStore } from './schemaDiffer';
const from = {
users: singlestoreTable(
'table',
{
name: text('name'),
},
(t) => {
return {
idx: index('name_idx').on(t.name),
};
},
),
};
const to = {
users: singlestoreTable('table', {
name: text('name'),
}),
};
diffTestSchemasSingleStore(from, to, []).then((res) => {
const { statements, sqlStatements } = res;
console.log(statements);
console.log(sqlStatements);
});
Domain
Dependencies
- diffTestSchemasSingleStore
- schemaDiffer.ts
- singlestore-core
Source
Frequently Asked Questions
What does testsinglestore.ts do?
testsinglestore.ts is a source file in the drizzle-orm codebase, written in typescript. It belongs to the DrizzleORM domain.
What does testsinglestore.ts depend on?
testsinglestore.ts imports 3 module(s): diffTestSchemasSingleStore, schemaDiffer.ts, singlestore-core.
Where is testsinglestore.ts in the architecture?
testsinglestore.ts is located at drizzle-kit/tests/testsinglestore.ts (domain: DrizzleORM, directory: drizzle-kit/tests).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free