Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pg_mem/schema/overload-resolver.ts>OverloadResolver

An in memory postgres DB instance for your unit tests
Latest
class OverloadResolver
import { OverloadResolver } from "https://deno.land/x/pg_mem@3.0.3/schema/overload-resolver.ts";

Constructors

new
OverloadResolver(implicitCastOnly: boolean)

Type Parameters

T extends HasSig

Properties

private
byName: Map<string, OverloadNode<T>>

Methods

add(value: T, replaceIfExists: boolean)
getExact(name: string, types: _IType[]): T | nil
getOverloads(name: string)
remove(value: T)
resolve(name: string, args: IValue[])