activerecord-spanner-adapter - Class Google::Cloud::Spanner::Session (v2.0.0)

Reference documentation and code samples for the activerecord-spanner-adapter class Google::Cloud::Spanner::Session.

Inherits

  • Object

Methods

.single_use_transaction

def self.single_use_transaction(opts)

Create a single-use transaction selector.

#commit_transaction

def commit_transaction(transaction, mutations = [])

#create_pdml

def create_pdml()

#create_snapshot

def create_snapshot(strong: nil, timestamp: nil, read_timestamp: nil, staleness: nil, exact_staleness: nil)