Skip to main content
Module

x/darango/collection.ts>Collection#create

An ArangoDB driver for Deno.
Go to Latest
method Collection.prototype.create
import { Collection } from "https://deno.land/x/darango@0.0.4/collection.ts";

Create a new document in the collection.

Parameters

data: T

The initial document data.

Returns

Promise<Document<T>>

The document, as it exists on the server.