Method: Cequel::Record::Schema::ClassMethods#table_schema

Defined in:
lib/cequel/record/schema.rb

#table_schemaSchema::Table

Returns the schema as defined by the columns specified in the class definition.

Since:

  • 1.0.0



99
100
101
# File 'lib/cequel/record/schema.rb', line 99

def table_schema
  @table_schema ||= Cequel::Schema::Table.new(table_name)
end