mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Replace null with [] in /schema field response
This commit is contained in:
parent
659a2bb560
commit
384b6511cd
1 changed files with 1 additions and 0 deletions
|
|
@ -756,6 +756,7 @@ func (h *Holder) limitedSchema() []*IndexInfo {
|
|||
CreatedAt: index.CreatedAt(),
|
||||
Options: index.Options(),
|
||||
ShardWidth: ShardWidth,
|
||||
Fields: make([]*FieldInfo, 0, len(index.Fields())),
|
||||
}
|
||||
for _, field := range index.Fields() {
|
||||
if strings.HasPrefix(field.name, "_") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue