                  (value :k 0)
                  (value :x (tuple-of [:int] [(int 1)])))))
 
-
   (is (= "UPDATE foo USING TIMESTAMP 42 SET a=12,b=[3,2,1],c=c+3 WHERE k=2;"
          (update :foo
                  (array-map :a 12

           (insert :foo
                   (value "asd" "bsd"))
           (insert :foo
                   (value "asd" "bsd"))))


         )))

  (is (= "TRUNCATE b.a;"
         (truncate :a :b)))

  (is (= (str "BEGIN BATCH INSERT INTO foo(asd) VALUES ('bsd');"
              "INSERT INTO foo(asd) VALUES ('bsd');"
              "INSERT INTO foo(asd) VALUES ('bsd');"
              "APPLY BATCH;")
         (batch
          (queries
           (insert :foo
