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:
parent
08cc316101
commit
92d02fef78
3 changed files with 18 additions and 2 deletions
|
|
@ -42,9 +42,12 @@ var Uint32 = jet.Uint32
|
|||
// Uint64 is constructor for 64 bit unsigned integer expressions literals.
|
||||
var Uint64 = jet.Uint64
|
||||
|
||||
// Float creates new float literal expression
|
||||
// Float creates new float literal expression from float64 value
|
||||
var Float = jet.Float
|
||||
|
||||
// Decimal creates new float literal expression from string value
|
||||
var Decimal = jet.Decimal
|
||||
|
||||
// String creates new string literal expression
|
||||
var String = jet.String
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue