Funicular::DB::TableBuilder class of PicoRuby

Singleton methods

new

Funicular::DB::TableBuilder.new() -> void

Instance methods

boolean

instance.boolean(untyped name, ?default: untyped, ?null: bool) -> void

datetime

instance.datetime(untyped name, ?default: untyped, ?null: bool) -> void

execute

instance.execute(String sql) -> void

float

instance.float(untyped name, ?default: untyped, ?null: bool) -> void

index

instance.index(*untyped columns) -> void

integer

instance.integer(untyped name, ?default: untyped, ?null: bool) -> void

remove

instance.remove(untyped name) -> void

remove_index

instance.remove_index(*untyped columns) -> void

rename

instance.rename(untyped old_name, untyped new_name) -> void

string

instance.string(untyped name, ?default: untyped, ?null: bool) -> void

text

instance.text(untyped name, ?default: untyped, ?null: bool) -> void

timestamps

instance.timestamps() -> void

Attr accessors

ops (reader)

instance.ops -> Array[untyped]
Tags: class