pbapi

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordCreate

func RecordCreate(app core.App, collectionNameOrId string, admin *models.Admin, fieldsMap map[string]any) (*models.Record, error)

Create - create single record in collection with provided fields/values (fieldsMap) check rights/rules don't trigger hooks/logs event return error or record struct

func RecordList

func RecordList(app core.App, collectionNameOrId, queryString, expand string) (*search.Result, error)

func RecordView

func RecordView(app core.App, collectionNameOrId, queryString, expand string) ([]*models.Record, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL