MCPcopy Index your code
hub / github.com/dropbox/godropbox / IntColumn

Function IntColumn

database/sqlbuilder/column.go:157–165  ·  view source on GitHub ↗

Representation of any integer column This function will panic if name is not valid

(name string, nullable NullableColumn)

Source from the content-addressed store, hash-verified

155// Representation of any integer column
156// This function will panic if name is not valid
157func IntColumn(name string, nullable NullableColumn) NonAliasColumn {
158 if !validIdentifierName(name) {
159 panic("Invalid column name in int column")
160 }
161 ic := &integerColumn{}
162 ic.name = name
163 ic.nullable = nullable
164 return ic
165}
166
167type doubleColumn struct {
168 baseColumn

Callers 5

TestRealColumnNameMethod · 0.85
test_utils.goFile · 0.85
ExampleFunction · 0.85

Calls 1

validIdentifierNameFunction · 0.85

Tested by 4

TestRealColumnNameMethod · 0.68
ExampleFunction · 0.68