Hacker GitHub

← All repos

arangodb/arangojs

View on GitHub ↗ ★ 609 TypeScript

The official ArangoDB JavaScript driver.

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2016-06-23 · latest 2023-03-10

Mentions per year 3 mentions · busiest year 2016 (2)
20082026
  1. …done something similar for SQL at the time). Here's the JS driver's current implementation of it: https://github.com/arangodb/arangojs/blob/main/src/aql.ts#L1... Basically the `aql` template tag returns an object that can also be fed back…
  2. …SQL, but we're using a template handler to make writing parameterized queries trivial for ArangoDB: https://github.com/arangodb/arangojs#aql Example: var userCollection = db.collection('_users'); var role = 'admin'; db.query(aql` FOR user…
    comment by pluma · 2016-10-24 · in Overview of JavaScript ES6 features
  3. …to create a REST api that suits your needs. There is also a community project for an ORM, see https://github.com/arangodb/arangojs/issues/215 However, in general it is more flexible and safer to use Foxx, because it allows you to fine tune…