module Sequel::Plugins::List::ClassMethods

  1. lib/sequel/plugins/list.rb

Methods

Public Instance

  1. position_field
  2. scope_proc
  3. top_of_list

Attributes

position_field [RW]

The column name holding the position in the list, as a symbol.

scope_proc [RW]

A proc that scopes the dataset, so that there can be multiple positions in the list, but the positions are unique with the scoped dataset. This proc should accept an instance and return a dataset representing the list.

top_of_list [R]

An Integer to use as the position of the top of the list. Defaults to 1.