Add DECIMAL constructor for Float literal.

DECIMAL constructor is used to pass a decimal number to the SQL query without precision loss.
This commit is contained in:
go-jet 2021-05-09 16:25:54 +02:00
parent 08cc316101
commit 92d02fef78
3 changed files with 18 additions and 2 deletions

View file

@ -38,6 +38,9 @@ var Uint64 = jet.Uint64
// Float creates new float literal expression
var Float = jet.Float
// Decimal creates new float literal expression
var Decimal = jet.Decimal
// String creates new string literal expression
var String = jet.String