Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/araddon/qlbridge
/ NewIntValue
Function
NewIntValue
value/value.go:466–468 ·
view source on GitHub ↗
(v int64)
Source
from the content-addressed store, hash-verified
464
func
(m NumberValue) Int() int64 {
return
int64(m.v) }
465
466
func
NewIntValue(v int64) IntValue {
467
return
IntValue{v: v}
468
}
469
470
func
NewIntNil() IntValue {
471
v := IntValue{v: math.MinInt32}
Callers
15
lenEval
Function · 0.92
toIntEval
Function · 0.92
stringIndexEval
Function · 0.92
yearEval
Function · 0.92
monthEval
Function · 0.92
dayOfWeekEval
Function · 0.92
hourOfWeekEval
Function · 0.92
hourOfDayEval
Function · 0.92
toTimestampEval
Function · 0.92
incrementEval
Function · 0.92
hashSipEval
Function · 0.92
builtins_test.go
File · 0.92
Calls
no outgoing calls
Tested by
10
BenchmarkVmExecute
Function · 0.74
BenchmarkVmExecuteNoParse
Function · 0.74
TestSqlDelete
Function · 0.74
TestIntValue
Function · 0.68
TestCast
Function · 0.68
TestEqual
Function · 0.68
TestValueToString
Function · 0.68
TestValueToStrings
Function · 0.68
TestValueToTime
Function · 0.68
TestIsBool
Function · 0.68