Skip to content

Commit

Permalink
fix: fix gramma error
Browse files Browse the repository at this point in the history
  • Loading branch information
tr1v3r committed Apr 10, 2024
1 parent c5fbbbc commit 0ace647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion field/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ func (f *function) FromUnixTime(date uint64, format string) String {
}

func (f *function) Rand() String {
return String{expr{e: clause.Expr{SQL: "RAND()"}}}
return String{GenericsString: GenericsString[string]{GenericsField: GenericsField[string]{expr{e: clause.Expr{SQL: "RAND()"}}}}}
}

0 comments on commit 0ace647

Please sign in to comment.