forked from withastro/astro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvirtual.d.ts
46 lines (43 loc) · 1.91 KB
/
virtual.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
declare module 'astro:db' {
type RuntimeConfig = typeof import('./dist/_internal/runtime/virtual.js');
export const db: import('./dist/runtime/index.js').Database;
export const dbUrl: string;
export const sql: RuntimeConfig['sql'];
export const NOW: RuntimeConfig['NOW'];
export const TRUE: RuntimeConfig['TRUE'];
export const FALSE: RuntimeConfig['FALSE'];
export const column: RuntimeConfig['column'];
export const defineDb: RuntimeConfig['defineDb'];
export const defineTable: RuntimeConfig['defineTable'];
export const isDbError: RuntimeConfig['isDbError'];
export const eq: RuntimeConfig['eq'];
export const gt: RuntimeConfig['gt'];
export const gte: RuntimeConfig['gte'];
export const lt: RuntimeConfig['lt'];
export const lte: RuntimeConfig['lte'];
export const ne: RuntimeConfig['ne'];
export const isNull: RuntimeConfig['isNull'];
export const isNotNull: RuntimeConfig['isNotNull'];
export const inArray: RuntimeConfig['inArray'];
export const notInArray: RuntimeConfig['notInArray'];
export const exists: RuntimeConfig['exists'];
export const notExists: RuntimeConfig['notExists'];
export const between: RuntimeConfig['between'];
export const notBetween: RuntimeConfig['notBetween'];
export const like: RuntimeConfig['like'];
export const notIlike: RuntimeConfig['notIlike'];
export const not: RuntimeConfig['not'];
export const asc: RuntimeConfig['asc'];
export const desc: RuntimeConfig['desc'];
export const and: RuntimeConfig['and'];
export const or: RuntimeConfig['or'];
export const count: RuntimeConfig['count'];
export const countDistinct: RuntimeConfig['countDistinct'];
export const avg: RuntimeConfig['avg'];
export const avgDistinct: RuntimeConfig['avgDistinct'];
export const sum: RuntimeConfig['sum'];
export const sumDistinct: RuntimeConfig['sumDistinct'];
export const max: RuntimeConfig['max'];
export const min: RuntimeConfig['min'];
export const alias: RuntimeConfig['alias'];
}