Skip to content

Commit

Permalink
feat: json base type support
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviaeinride committed Jun 3, 2022
1 parent 75d865c commit d9d93a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/codegen/typescodegen/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ func SpanSQLType(column *spanddl.Column) reflect.Type {
return reflect.TypeOf(spansql.DateLiteral{})
case spansql.Timestamp:
return reflect.TypeOf(spansql.TimestampLiteral{})
case spansql.JSON:
return reflect.TypeOf(spansql.JSONLiteral{})
case spansql.Numeric:
panic("TODO: implement support for NUMERIC")
default:
Expand Down

0 comments on commit d9d93a7

Please sign in to comment.