Skip to content

Commit

Permalink
fix: salesforce query offset removed
Browse files Browse the repository at this point in the history
  • Loading branch information
afthabvp committed Apr 17, 2024
1 parent d802fa8 commit b5f3862
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integrations/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GIT
PATH
remote: .
specs:
multiwoven-integrations (0.1.61)
multiwoven-integrations (0.1.62)
activesupport
async-websocket
csv
Expand Down
2 changes: 1 addition & 1 deletion integrations/lib/multiwoven/integrations/rollout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Multiwoven
module Integrations
VERSION = "0.1.61"
VERSION = "0.1.62"

ENABLED_SOURCES = %w[
Snowflake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def read(sync_config)
connection_config = sync_config.source.connection_specification.with_indifferent_access
initialize_client(connection_config)
query = sync_config.model.query
query = batched_query(query, sync_config.limit, sync_config.offset) unless sync_config.limit.nil? && sync_config.offset.nil?
query = "#{query} LIMIT #{sync_config.limit}" unless sync_config.limit.nil?
queried_data = @client.query(query)
results = queried_data.map do |record|
flatten_nested_hash(record)
Expand Down

0 comments on commit b5f3862

Please sign in to comment.