Sha256: 5c2fe533edb0857e46796f76ba7d2a8237bb21247036352eee9e35ed1d9c187c
Contents?: true
Size: 530 Bytes
Versions: 8
Compression:
Stored size: 530 Bytes
Contents
# Copyright 2022 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. # # frozen_string_literal: true module ActiveRecord module ConnectionAdapters module Spanner class Column < ConnectionAdapters::Column def has_default? # rubocop:disable Naming/PredicateName super && !virtual? end def virtual? sql_type_metadata.generated end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems