canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • batch_completed_at: (URLParameter), prefix with a hyphen (-batch_completed_at) to reverse the order
  • campus_id: (URLParameter), prefix with a hyphen (-campus_id) to reverse the order
  • created_at: (URLParameter), prefix with a hyphen (-created_at) to reverse the order
  • list_category_id: (URLParameter), prefix with a hyphen (-list_category_id) to reverse the order
  • name: (URLParameter), prefix with a hyphen (-name) to reverse the order
  • name_or_description: (URLParameter), prefix with a hyphen (-name_or_description) to reverse the order
  • updated_at: (URLParameter), prefix with a hyphen (-updated_at) to reverse the order

Implementation

static List<String> get canOrderBy => [
      'batch_completed_at',
      'campus_id',
      'created_at',
      'list_category_id',
      'name',
      'name_or_description',
      'updated_at'
    ];