databasedotcom_additions 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/databasedotcom_additions/client.rb +7 -0
- metadata +1 -1
@@ -66,6 +66,13 @@ module Databasedotcom
|
|
66
66
|
result = http_get("/services/data/v#{self.version}/query", :q => soql)
|
67
67
|
resp = JSON.parse(result.body)
|
68
68
|
|
69
|
+
next_resp = resp
|
70
|
+
while next_resp['done'] == false
|
71
|
+
puts "*** nextRecordsUrl = #{resp['nextRecordsUrl']} ***"
|
72
|
+
next_resp = next_page_raw(resp['nextRecordsUrl'])
|
73
|
+
resp['records'] = resp['records'].concat(next_resp['records'])
|
74
|
+
end
|
75
|
+
|
69
76
|
if query_result_cache_enabled
|
70
77
|
puts "cache put - #{cache_key}"
|
71
78
|
cache[cache_key] = resp
|