|
|
@ -107,14 +107,23 @@
|
|
|
|
values)
|
|
|
|
values)
|
|
|
|
", ")))
|
|
|
|
", ")))
|
|
|
|
|
|
|
|
|
|
|
|
((insert (('into table) ('columns columns ...) values ...))
|
|
|
|
((insert into values)
|
|
|
|
(sprintf "INSERT INTO ~A (~A) VALUES ~A"
|
|
|
|
(sprintf "INSERT INTO ~A VALUES ~A"
|
|
|
|
table
|
|
|
|
into
|
|
|
|
(string-intersperse (map symbol->string columns) ", ")
|
|
|
|
|
|
|
|
(string-intersperse (map (lambda (val)
|
|
|
|
(string-intersperse (map (lambda (val)
|
|
|
|
(self (car val) (cdr val)))
|
|
|
|
(self (car val) (cdr val)))
|
|
|
|
values) ", ")))
|
|
|
|
values) ", ")))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
((insert (('into table) ('columns columns ...) values ...))
|
|
|
|
|
|
|
|
(self 'insert
|
|
|
|
|
|
|
|
(sprintf "~A (~A)"
|
|
|
|
|
|
|
|
table
|
|
|
|
|
|
|
|
(string-intersperse (map symbol->string columns) ", "))
|
|
|
|
|
|
|
|
values))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
((insert (('into table) values ...))
|
|
|
|
|
|
|
|
(self 'insert table values))
|
|
|
|
|
|
|
|
|
|
|
|
((operator->sql type operator separator operands)
|
|
|
|
((operator->sql type operator separator operands)
|
|
|
|
(case type
|
|
|
|
(case type
|
|
|
|
((infix)
|
|
|
|
((infix)
|
|
|
|