insertNullTimestamp() — drizzle-orm Function Reference
Architecture documentation for the insertNullTimestamp() function in index.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD d7bc41ce_f6e6_6f99_c4c8_638c31c0d891["insertNullTimestamp()"] 34f01008_7c45_3804_1fad_b8b59cd8a413["MyDurableObject"] d7bc41ce_f6e6_6f99_c4c8_638c31c0d891 -->|defined in| 34f01008_7c45_3804_1fad_b8b59cd8a413 7c7acbfe_6328_c8df_feba_552ee62a84d9["default.fetch()"] 7c7acbfe_6328_c8df_feba_552ee62a84d9 -->|calls| d7bc41ce_f6e6_6f99_c4c8_638c31c0d891 b19b108f_def7_3a32_99a3_c8be51ce2fbf["beforeEach()"] d7bc41ce_f6e6_6f99_c4c8_638c31c0d891 -->|calls| b19b108f_def7_3a32_99a3_c8be51ce2fbf style d7bc41ce_f6e6_6f99_c4c8_638c31c0d891 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
integration-tests/tests/sqlite/durable-objects/index.ts lines 1885–1903
async insertNullTimestamp(): Promise<void> {
try {
await this.beforeEach();
const test = sqliteTable('test', {
t: integer('t', { mode: 'timestamp' }),
});
this.db.run(sql`create table ${test} (t timestamp)`);
this.db.insert(test).values({ t: null }).run();
const res = await this.db.select().from(test).all();
expect(res).deep.equal([{ t: null }]);
this.db.run(sql`drop table ${test}`);
} catch (error: any) {
console.error(error);
throw new Error(`insertNullTimestamp error`);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does insertNullTimestamp() do?
insertNullTimestamp() is a function in the drizzle-orm codebase, defined in integration-tests/tests/sqlite/durable-objects/index.ts.
Where is insertNullTimestamp() defined?
insertNullTimestamp() is defined in integration-tests/tests/sqlite/durable-objects/index.ts at line 1885.
What does insertNullTimestamp() call?
insertNullTimestamp() calls 1 function(s): beforeEach.
What calls insertNullTimestamp()?
insertNullTimestamp() is called by 1 function(s): default.fetch.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free