Sha256: 4590beab9a756bd10aa5646f488dc49f92299f6603635db724342c9249cd4d9f
Contents?: true
Size: 926 Bytes
Versions: 11
Compression:
Stored size: 926 Bytes
Contents
module PgEventstore module Web module Paginator class EventsCollection < PgEventstore::Web::Paginator::BaseCollection SQL_DIRECTIONS: ::Hash[String, Symbol] PER_PAGE: ::Hash[String, Integer] MAX_NUMBER_TO_COUNT: Integer def collection: () -> ::Array[PgEventstore::Event] def next_page_starting_id: () -> Integer? def prev_page_starting_id: () -> Integer? def total_count: () -> Integer # _@param_ `event` def event_global_position: (PgEventstore::Event event) -> Integer? # _@param_ `sql_builder` def estimate_count: (PgEventstore::SQLBuilder sql_builder) -> Integer # _@param_ `sql_builder` def regular_count: (PgEventstore::SQLBuilder sql_builder) -> Integer # _@param_ `sql_builder` def global_position: (PgEventstore::SQLBuilder sql_builder) -> Integer? end end end end
Version data entries
11 entries across 11 versions & 1 rubygems