Back to Pocketbase

Interface ResolverResult

static/jsvm/interfaces/search.ResolverResult.html

latest2.2 KB
Original Source

Interface ResolverResult

ResolverResult defines a single FieldResolver.Resolve() successfully parsed result.

Hierarchy

  • ResolverResult

Index

Properties

afterBuildidentifiermultiMatchSubQuery?nullFallbackparams

Properties

afterBuild

afterBuild: ((expr) => Expression)

Type declaration

AfterBuild is an optional function that will be called after building and combining the result of both resolved operands/sides in a single expression.

Parameters

- 
expr: Expression

Returns Expression

identifier

identifier: string

Identifier is the plain SQL identifier/column that will be used in the final db expression as left or right operand.

Optional multiMatchSubQuery

multiMatchSubQuery?: MultiMatchSubquery

MultiMatchSubQuery is an optional sub query expression that will be added in addition to the combined ResolverResult expression during build.

nullFallback

nullFallback: NullFallbackPreference

NullFallback specify the preference for how NULL or empty values should be resolved (default to "auto").

Set to NullFallbackDisabled to prevent any COALESCE or NULL fallbacks. Set to NullFallbackEnforced to prefer COALESCE or NULL fallbacks when needed.

params

params: Params

Params is a map with db placeholder->value pairs that will be added to the query when building both resolved operands/sides in a single expression.

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc