canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • config: (URLParameter), prefix with a hyphen (-config) to reverse the order
  • data_type: (URLParameter), prefix with a hyphen (-data_type) to reverse the order
  • deleted_at: (URLParameter), prefix with a hyphen (-deleted_at) to reverse the order
  • name: (URLParameter), prefix with a hyphen (-name) to reverse the order
  • sequence: (URLParameter), prefix with a hyphen (-sequence) to reverse the order
  • slug: (URLParameter), prefix with a hyphen (-slug) to reverse the order
  • tab_id: (URLParameter), prefix with a hyphen (-tab_id) to reverse the order

Implementation

static List<String> get canOrderBy => [
      'config',
      'data_type',
      'deleted_at',
      'name',
      'sequence',
      'slug',
      'tab_id'
    ];