Class: Google::Cloud::Spanner::ColumnValue
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Spanner::ColumnValue
 
 
- Defined in:
 - lib/google/cloud/spanner/column_value.rb
 
Overview
ColumnValue
Represents a change to be made to a row's column value by the Spanner API.
Class Method Summary collapse
- 
  
    
      .commit_timestamp  ⇒ ColumnValue 
    
    
  
  
  
  
  
  
  
  
  
    
Creates a column value object representing setting a field's value to the timestamp of the commit.
 
Class Method Details
.commit_timestamp ⇒ ColumnValue
Creates a column value object representing setting a field's value to the timestamp of the commit. (See Google::Cloud::Spanner::Client#commit_timestamp and Transaction#commit_timestamp)
This placeholder value can only be used for timestamp columns that have set the option "(allow_commit_timestamp=true)" in the schema.
      102 103 104  | 
    
      # File 'lib/google/cloud/spanner/column_value.rb', line 102 def self. new :commit_timestamp end  |