class Mashery::QueryBuilder::Page

By default the first page is returned. The PAGE clause allows additional pages to be returned. > SELECT * FROM members PAGE 5

Public Class Methods

new(page) click to toggle source
# File lib/mashery/query_builder.rb, line 160
def initialize(page)
  @page = page
end

Public Instance Methods

to_s() click to toggle source
# File lib/mashery/query_builder.rb, line 164
def to_s
  if @page.blank?
    ""
  else
    "PAGE #{@page}"
  end
end