lib/google/cloud/bigquery/time.rb in google-cloud-bigquery-1.21.1 vs lib/google/cloud/bigquery/time.rb in google-cloud-bigquery-1.21.2

- old
+ new

@@ -32,13 +32,16 @@ # data = bigquery.query "SELECT name " \ # "FROM `my_project.my_dataset.my_table`" \ # "WHERE time_of_date = @time", # params: { time: fourpm } # + # # Iterate over the first page of results # data.each do |row| # puts row[:name] # end + # # Retrieve the next page of results + # data = data.next if data.next? # # @example Create Time with fractional seconds: # require "google/cloud/bigquery" # # bigquery = Google::Cloud::Bigquery.new @@ -47,12 +50,15 @@ # data = bigquery.query "SELECT name " \ # "FROM `my_project.my_dataset.my_table`" \ # "WHERE time_of_date >= @time", # params: { time: precise_time } # + # # Iterate over the first page of results # data.each do |row| # puts row[:name] # end + # # Retrieve the next page of results + # data = data.next if data.next? # Time = Struct.new :value end end end