Skip to content

Function: alias() ​

Call Signature ​

alias<V>(view): AliasedView<V>

Defined in: fate/lib/refetch-BQzdlxXW.d.mts:15

Select a same-entity view under a named ref.

Type Parameters ​

V ​

V extends View<any, any>

Parameters ​

view ​

V

Returns ​

AliasedView<V>

Call Signature ​

alias<Field, S>(field, selection): AliasedSelection<Field, S>

Defined in: fate/lib/refetch-BQzdlxXW.d.mts:17

Select a schema field under a different result name, with its own arguments.

Type Parameters ​

Field ​

Field extends string

S ​

S

Parameters ​

field ​

Field

selection ​

S

Returns ​

AliasedSelection<Field, S>

Released under the MIT License