class Showcase::Model::OnMysql

Defined in:

model/on_mysql.cr

Instance Method Summary

Instance methods inherited from class Showcase::Model::Base

create_employee(id : Int32 | Nil, team_id : Int32, name : String) : Nil create_employee, create_mentor(id : Int32 | Nil, team_id : Int32, employee_id : Int32 | Nil, name : String) : Nil create_mentor, create_tables create_tables, max_id(table_name : String) : Int32 max_id, rows_count(table_name : String, team_id : Int32) : Int32 rows_count, select_team_members(team_id : Int32) : Array(MemberRow) select_team_members

Constructor methods inherited from class Showcase::Model::Base

new(db : DB::Database) new

Instance Method Detail

def create_employee(id : Int32 | Nil, team_id : Int32, name : String) : Nil #

[View source]
def create_mentor(id : Int32 | Nil, team_id : Int32, employee_id : Int32 | Nil, name : String) : Nil #

[View source]
def create_tables #

[View source]