We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aa6d8d commit c5fce9eCopy full SHA for c5fce9e
1 file changed
src/practitest_firecracker/query_dsl.clj
@@ -55,6 +55,12 @@
55
(throw
56
(ex-info "Syntax error: 'drop-last' must have one or two arguments"
57
{:query query})))
58
+ 'take-last (case (count args)
59
+ 1 (take-last 1 (first args))
60
+ 2 (take-last (first args) (second args))
61
+ (throw
62
+ (ex-info "Syntax error: 'take-last' must have one or two arguments"
63
+ {:query query})))
64
'concat (apply str args)
65
'capitalize (if (= 1 (count args))
66
(map string/capitalize (first args))
0 commit comments