Sha256: a61ee5fc97431689c6692b3efdc71ebcde95f353073730cce222c7fba4fee65f

Contents?: true

Size: 444 Bytes

Versions: 22

Compression:

Stored size: 444 Bytes

Contents

# Copyright 2021 Google LLC
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.

require_relative "../config/environment"
require "sinatra/activerecord/rake"

desc "Sample showing how to execute a read/write transaction using Mutations instead of DML with ActiveRecord."
task :run do
  Dir.chdir("..") { sh "bundle exec rake run[mutations]" }
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-1.8.0 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.6.3 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.6.2 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.6.1 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.6.0 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.5.1 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.5.0 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.4.4 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.4.3 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.4.2 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.4.1 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.4.0 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.3.1 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.2.2 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.2.1 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.2.0 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.1.0 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.0.1 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-1.0.0 examples/snippets/mutations/Rakefile
activerecord-spanner-adapter-0.7.0 examples/snippets/mutations/Rakefile