Class: Google::Cloud::AlloyDB::V1::SqlResultColumn

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/alloydb/v1/data_model.rb

Overview

Contains the name and datatype of a column in a SQL Result.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Name of the column.

Returns:

  • (::String)

    Name of the column.



46
47
48
49
# File 'proto_docs/google/cloud/alloydb/v1/data_model.rb', line 46

class SqlResultColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::String

Returns Datatype of the column as reported by the postgres driver. Common type names are "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", and "BIGINT".

Returns:

  • (::String)

    Datatype of the column as reported by the postgres driver. Common type names are "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", and "BIGINT".



46
47
48
49
# File 'proto_docs/google/cloud/alloydb/v1/data_model.rb', line 46

class SqlResultColumn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end