View

Defines table views with conditions and column configurations. The View type in Bunny's GraphQL API and its fields.

Name Type Description
columns String Comma-separated list of column names
conditions String YAML-formatted conditions
fields List (Field)  
id ID Unique identifier for the view
isDefault Boolean True if this view is to be shown by default on the page
name String Name of the view
obj String Object this view is operating on
pinned Boolean True if this view is pinned for quick access
sortBy String Field the table is sorted by
sortOrder String Sort order of the table
userId ID ID of the user who created the view