MCPcopy
hub / github.com/drizzle-team/drizzle-orm / pg-views.test.ts

File pg-views.test.ts

drizzle-kit/tests/pg-views.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { sql } from 'drizzle-orm';
2import { integer, pgMaterializedView, pgSchema, pgTable, pgView } from 'drizzle-orm/pg-core';
3import { expect, test } from 'vitest';
4import { diffTestSchemas } from './schemaDiffer';

Callers

nothing calls this directly

Calls 15

pgTableFunction · 0.90
integerFunction · 0.90
pgViewFunction · 0.90
diffTestSchemasFunction · 0.90
sqlFunction · 0.90
pgSchemaFunction · 0.90
pgMaterializedViewFunction · 0.90
viewMethod · 0.80
asMethod · 0.45
fromMethod · 0.45
selectMethod · 0.45
withMethod · 0.45

Tested by

no test coverage detected