Skip to content

Commit

Permalink
feat: support empty type (#4)
Browse files Browse the repository at this point in the history
* feat: support empty type

* feat: update data
  • Loading branch information
hetao92 authored Jan 15, 2021
1 parent 448e278 commit f236868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*.dll
*.so
*.dylib

tmp
# Test binary, built with `go test -c`
*.test

Expand Down
2 changes: 2 additions & 0 deletions service/dao/dao.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ func getBasicValue(valWarp *nebula.ValueWrapper) (common.Any, error) {
return valWarp.AsTime()
} else if valType == "datetime" {
return valWarp.AsDateTime()
} else if valType == "empty" {
return "_EMPTY_", nil
}
return "", nil
}
Expand Down

0 comments on commit f236868

Please sign in to comment.