You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
511 B
Scheme
13 lines
511 B
Scheme
(use test)
|
|
(import ssql)
|
|
|
|
(test "simple"
|
|
'(select (columns firstname lastname) (from artists) (where (= firstname "Frank")))
|
|
(ssql-compose #f
|
|
'(select (columns firstname lastname) (from artists))
|
|
'((where (= firstname "Frank")))))
|
|
|
|
(test "merge"
|
|
'(select (columns firstname lastname age) (from artists) (order firstname lastname))
|
|
(ssql-compose #f '(select (columns firstname lastname) (order firstname))
|
|
'((columns age) (from artists) (order lastname)))) |