mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 20:07:51 +00:00
don't encode 'base' in the field options json
it's not something that we can send to the server (it calculates base off of min and max), and we don't need it in the json string in order to use it client side when building import requests.
This commit is contained in:
parent
96f589ce24
commit
cc2230b4b8
1 changed files with 0 additions and 3 deletions
|
|
@ -826,12 +826,10 @@ func (fo FieldOptions) String() string {
|
|||
case FieldTypeInt:
|
||||
mopt["min"] = fo.min
|
||||
mopt["max"] = fo.max
|
||||
mopt["base"] = fo.base
|
||||
case FieldTypeDecimal:
|
||||
mopt["min"] = fo.min
|
||||
mopt["max"] = fo.max
|
||||
mopt["scale"] = fo.scale
|
||||
mopt["base"] = fo.base
|
||||
case FieldTypeTime:
|
||||
mopt["timeQuantum"] = string(fo.timeQuantum)
|
||||
mopt["noStandardView"] = fo.noStandardView
|
||||
|
|
@ -840,7 +838,6 @@ func (fo FieldOptions) String() string {
|
|||
mopt["min"] = fo.min
|
||||
mopt["max"] = fo.max
|
||||
mopt["timeUnit"] = fo.timeUnit
|
||||
mopt["base"] = fo.base
|
||||
mopt["epoch"] = fo.epoch
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue