mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
added handling for float attribute
This commit is contained in:
parent
ab9627012c
commit
631b3bc44c
1 changed files with 2 additions and 0 deletions
2
attr.go
2
attr.go
|
|
@ -265,6 +265,8 @@ func txUpdateAttrs(tx *bolt.Tx, id uint64, m map[string]interface{}) (map[string
|
|||
attr[k] = uint64(v)
|
||||
case uint:
|
||||
attr[k] = uint64(v)
|
||||
case float64:
|
||||
attr[k] = uint64(v)
|
||||
case int64:
|
||||
attr[k] = uint64(v)
|
||||
case string, uint64, bool:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue