diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/world/db/sql.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/world/db/sql.lux b/stdlib/source/lux/world/db/sql.lux index c91c2f226..13d6c8b6f 100644 --- a/stdlib/source/lux/world/db/sql.lux +++ b/stdlib/source/lux/world/db/sql.lux @@ -4,7 +4,7 @@ [monad (#+ do)]] [data ["." text ("#;." equivalence) - format] + ["%" format (#+ format)]] [collection ["." list ("#;." functor)]]] [type @@ -122,8 +122,8 @@ (def: #export (int value) (-> Int Literal) (..literal (if (i/< +0 value) - (%i value) - (%n (.nat value))))) + (%.int value) + (%.nat (.nat value))))) (def: #export function (-> Text Function) @@ -261,7 +261,7 @@ (:abstraction (format (:representation query) " " <sql> " " - (%n value))))] + (%.nat value))))] [limit "LIMIT" [where having order group offset] (Query where having order group No-Limit offset) |