Liking cljdoc? Tell your friends :D

Decorators

Introduction

Decorators are features that can be built on top of Crux that can be used optionally and can be created easily without needing understand how the core of Crux works. Use of decorators is currently an advanced topic and requires a basic understanding of Clojure to configure.

Aggregation

The aggregation.alpha namespace demonstrates a good example of building a highly general aggregation extension to the basic Crux query. The standard api/q function can now be ignored as the aggr/q function is used instead (it wraps api/q with transducer magic).

link:./query_examples.clj[role=include]

See the aggregation_test.clj for more examples of usage.

Can you improve this documentation? These fine people already did:
Antonelli712 & Jeremy Taylor
Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
+kJump to recent docs
Move to previous article
Move to next article
+/Jump to the search field
× close