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.
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: databasedotcom_additions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: