https://github.com/artmsh/clj-aql
Clojure DSL for ArangoDB queries
https://github.com/artmsh/clj-aql
arangodb clojure dsl
Last synced: 2 months ago
JSON representation
Clojure DSL for ArangoDB queries
- Host: GitHub
- URL: https://github.com/artmsh/clj-aql
- Owner: artmsh
- License: epl-1.0
- Created: 2017-10-02T16:30:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T15:31:40.000Z (almost 8 years ago)
- Last Synced: 2025-10-22T01:44:52.180Z (2 months ago)
- Topics: arangodb, clojure, dsl
- Language: Clojure
- Size: 53.7 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# clj-aql [](https://circleci.com/gh/artmsh/clj-aql)
Clojure language extension that provide idiomatic syntax for [ArangoDB](https://arangodb.com/) query language.
## Installation
[Clojars](https://clojars.org/clj-aql)
```clojure
[clj-aql "0.1.1-SNAPSHOT"]
```
## Usage
```clojure
(require [clj-aql.core :refer :all])
(FOR [u] :IN "users"
(RETURN u.name))
```
`FOR` is a macro which expands to following structure:
```clojure
{:query
"FOR u IN users
RETURN u.name"
:args {}}
```
More documentation coming soon.
## License
Copyright © 2017 Artem Mishchenko
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.