module Granite::Tables::ClassMethods

Defined in:

granite/table.cr

Instance Method Summary

Instance Method Detail

def adapter : Granite::Adapter::Base #

[View source]
def primary_name #

[View source]
def primary_type #

[View source]
def quote(column_name) : String #

[View source]
def quoted_table_name : String #

[View source]
def table_name : String #

Returns the name of the table for self defaults to the model's name underscored + 's'.


[View source]