Sha256: 36575edf663de469b95594a0d763bbcbc1a9741c10854923f3673d1f897a1d00

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

# Copyright 2023 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 use automatic query log tagging on Cloud Spanner with ActiveRecord."
task :run do
  Dir.chdir("..") { sh "bundle exec rake run[query-logs]" }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-1.6.3 examples/snippets/query-logs/Rakefile
activerecord-spanner-adapter-1.6.2 examples/snippets/query-logs/Rakefile
activerecord-spanner-adapter-1.6.1 examples/snippets/query-logs/Rakefile
activerecord-spanner-adapter-1.6.0 examples/snippets/query-logs/Rakefile