Method: Webhookdb::Replicator::Base#readonly_dataset

Defined in:
lib/webhookdb/replicator/base.rb

#readonly_dataset(**kw) ⇒ Sequel::Dataset

Yield to a dataset using the readonly connection.

Returns:

  • (Sequel::Dataset)


889
890
891
# File 'lib/webhookdb/replicator/base.rb', line 889

def readonly_dataset(**kw, &)
  self.with_dataset(self.service_integration.organization.readonly_connection_url_raw, **kw, &)
end