Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions horaedb/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type DataType int
const (
NULL DataType = iota
TIMESTAMP
DATE
STRING
DOUBLE
FLOAT
Expand Down Expand Up @@ -60,6 +61,10 @@ func (v Value) TimestampValue() int64 {
return v.Int64Value()
}

func (v Value) DateValue() int64 {
return v.Int64Value()
}

func (v Value) StringValue() string {
if v.IsNull() {
return ""
Expand Down