aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/world/db/sql.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/world/db/sql.lux')
-rw-r--r--stdlib/source/lux/world/db/sql.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/lux/world/db/sql.lux b/stdlib/source/lux/world/db/sql.lux
index 2d2c55c6a..4c9bce9b2 100644
--- a/stdlib/source/lux/world/db/sql.lux
+++ b/stdlib/source/lux/world/db/sql.lux
@@ -5,10 +5,10 @@
[data
[number
["i" int]]
- ["." text ("#;." equivalence)
+ ["." text ("#\." equivalence)
["%" format (#+ format)]]
[collection
- ["." list ("#;." functor)]]]
+ ["." list ("#\." functor)]]]
[type
abstract]])
@@ -107,7 +107,7 @@
(def: enumerate
(-> (List (SQL Any)) Text)
- (|>> (list;map (|>> :representation))
+ (|>> (list\map (|>> :representation))
(text.join-with ", ")))
## Value
@@ -214,8 +214,8 @@
_
(|> columns
- (list;map (.function (_ [column alias])
- (if (text;= ..no-alias alias)
+ (list\map (.function (_ [column alias])
+ (if (text\= ..no-alias alias)
(:representation column)
(format (:representation column) " AS " alias))))
(text.join-with ", ")))
@@ -295,7 +295,7 @@
(format (:representation query)
" ORDER BY "
(|> pairs
- (list;map (.function (_ [value order])
+ (list\map (.function (_ [value order])
(format (:representation value) " " (:representation order))))
(text.join-with ", "))))))
@@ -322,7 +322,7 @@
(..parenthesize (..enumerate columns))
" VALUES "
(|> rows
- (list;map (|>> ..enumerate ..parenthesize))
+ (list\map (|>> ..enumerate ..parenthesize))
(text.join-with ", "))
)))
@@ -335,7 +335,7 @@
_
(format " SET " (|> pairs
- (list;map (.function (_ [column value])
+ (list\map (.function (_ [column value])
(format (:representation column) "=" (:representation value))))
(text.join-with ", ")))))))