Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Takarik::Data::TableBuilder
Inherits
Reference
<
Object
Constructors
new
(table_name :
String
, primary_key :
String
|
PrimaryKeyConfig
|
PrimaryKeyShorthand
|
Nil
= "id")
Source
Instance methods
array
(name :
String
, base_type :
String
, **options)
Source
bigint
(name :
String
, **options)
Source
bigserial
(name :
String
, **options)
Source
binary
(name :
String
, **options)
Source
blob
(name :
String
, **options)
Source
boolean
(name :
String
, **options)
Source
bytea
(name :
String
, **options)
Source
char
(name :
String
, **options)
Source
cidr
(name :
String
, **options)
Source
column
(name :
String
, type :
String
, **options)
Source
date
(name :
String
, **options)
Source
datetime
(name :
String
, **options)
Source
decimal
(name :
String
, **options)
Source
double
(name :
String
, **options)
Source
enum
(name :
String
, values :
Array
(
String
), **options)
Source
float
(name :
String
, **options)
Source
geometry
(name :
String
, **options)
Source
inet
(name :
String
, **options)
Source
int
(name :
String
, **options)
Source
integer
(name :
String
, **options)
Source
interval
(name :
String
, **options)
Source
json
(name :
String
, **options)
Source
jsonb
(name :
String
, **options)
Source
linestring
(name :
String
, **options)
Source
longblob
(name :
String
, **options)
Source
longtext
(name :
String
, **options)
Source
macaddr
(name :
String
, **options)
Source
mediumblob
(name :
String
, **options)
Source
mediumint
(name :
String
, **options)
Source
mediumtext
(name :
String
, **options)
Source
numeric
(name :
String
, **options)
Source
point
(name :
String
, **options)
Source
polygon
(name :
String
, **options)
Source
raw
(name :
String
, sql_type :
String
, **options)
Source
references
(name :
String
, type col_type :
String
, **options)
Source
references
(name :
String
, **options)
Source
serial
(name :
String
, **options)
Source
set
(name :
String
, values :
Array
(
String
), **options)
Source
smallint
(name :
String
, **options)
Source
soft_deletes
Source
string
(name :
String
, **options)
Source
text
(name :
String
, **options)
Source
time
(name :
String
, **options)
Source
timestamp
(name :
String
, **options)
Source
timestamps
Source
timestamps_tz
Source
timestamptz
(name :
String
, **options)
Source
tinyint
(name :
String
, **options)
Source
to_sql
Source
uuid
(name :
String
, **options)
Source
varbinary
(name :
String
, **options)
Source
year
(name :
String
, **options)
Source