Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Spacetime::Schema::SequenceDef
Inherits
Reference
<
Object
Constructors
decode_bsatn
(decoder :
BSATN::Decoder
) : self
Source
from_sats_json
(any :
JSON::Any
) : self
Source
new
(column :
ColId
, name :
String
|
Nil
= nil, start :
Int128
|
Nil
= nil, min_value :
Int128
|
Nil
= nil, max_value :
Int128
|
Nil
= nil, increment :
Int128
= 1_i128)
Source
Instance methods
column
Source
column=
(column :
ColId
)
Source
encode_bsatn
(encoder :
BSATN::Encoder
) :
Nil
Source
increment
Source
increment=
(increment :
Int128
)
Source
max_value
Source
max_value=
(max_value :
Int128
|
Nil
)
Source
min_value
Source
min_value=
(min_value :
Int128
|
Nil
)
Source
name
Source
name=
(name :
String
|
Nil
)
Source
start
Source
start=
(start :
Int128
|
Nil
)
Source
to_sats_json
(json :
JSON::Builder
) :
Nil
Source