class QueryBuilder
- QueryBuilder
- Reference
- Object
Defined in:
query_builder.crConstant Summary
-
DEFAULT_PAGE_SIZE =
24 -
MAX_QUERY_CACHE =
128 -
SORTING_TYPES =
{"id" => "id DESC", "id:desc" => "id DESC", "id:asc" => "id ASC", "kudos" => "kudos DESC", "kudos:desc" => "kudos DESC", "kudos:asc" => "kudos ASC", "cum" => "kudos DESC", "cum:desc" => "kudos DESC", "cum:asc" => "kudos ASC", "score" => "kudos DESC", "score:desc" => "kudos DESC", "score:asc" => "kudos ASC", "random" => "RANDOM()"}
Constructors
Instance Method Summary
- #cache
- #page : Int64
- #page=(page : Int64)
- #page_sql
- #path_filter : String | Nil
- #path_filter=(path_filter : String | Nil)
- #sorting : String
- #sorting=(sorting : String)
- #sql
- #text : String
- #text=(text : String)
- #unknown_tags : Array(String)
- #valid_tags : Array(String)