Back to Pocketbase

Interface RecordProxy

static/jsvm/interfaces/core.RecordProxy.html

latest1.3 KB
Original Source

Interface RecordProxy

RecordProxy defines an interface for a Record proxy/project model, aka. custom model struct that acts on behalve the proxied Record to allow for example typed getter/setters for the Record fields.

To implement the interface it is usually enough to embed the [BaseRecordProxy] struct.

Hierarchy

  • RecordProxy

Indexable

Index

Methods

proxyRecordsetProxyRecord

Methods

proxyRecord

ProxyRecord returns the proxied Record model.

Returns core.Record

setProxyRecord

  • setProxyRecord(record): void

SetProxyRecord loads the specified record model into the current proxy.

Parameters

record: core.Record

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc