import type { DatabaseDialect } from "../connect.ts" ; param name param dialect export function quote ( name , dialect ) { if ( name === "*" ) { return name ; } switch ( dialect ) { case "postgres" : return `"${ name }"` ; case "mysql" : case "sqlite" : default : return `\`${ name }\`` ; } }