class

Clickhouse::Schema::Create

Inherits Reference / Object

Constructors

parse(buf : String) : Create
Source

Class methods

parse_columns(buf : String) : Array(Column)
Source

Instance methods

backquoted
backquoted=(v : Bool) : Bool
backquoted=(v : Nil)

nil assignments are always ignored

backquoted?
column(name : String) : Column
Source
column
column=(v : String) : String
column=(v : Nil)

nil assignments are always ignored

column?
columns
columns=(v : Array(Column)) : Array(Column)
columns=(v : Nil)

nil assignments are always ignored

columns?
create
create=(v : String) : String
create=(v : Nil)

nil assignments are always ignored

create?
db
db=(v : String) : String
db=(v : Nil)

nil assignments are always ignored

db?
engine
engine=(v : String) : String
engine=(v : Nil)

nil assignments are always ignored

engine?
table
table=(v : String) : String
table=(v : Nil)

nil assignments are always ignored

table?
to_s(io : IO)

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source
to_sql
Source