mango
mango copied to clipboard
MongoDB driver for Deno
Mango
A MongoDB driver for Deno.
⚠️ Work in progress. Expect breaking changes.
Table of Contents
- Quick Start
- Documentation
- Features
- Maintainers
- Other
- Related
- Contribution
- Licence
Quick Start
Subject to change, here as a placeholder mainly. In progress
import { Mango } from "https://deno.land/x/mango/mod.ts"
const client = new Mango({
// ... configs
})
const db = await client.connect()
const profileCollection = db.collection("profiles")
const profiles = await profileCollection.find({})
Documentation
In progress
Link to doc.deno.land api documentation, or github pages, or add documentation here
Features
In progress
- [x] Connecting to the database
- [ ] Find documents for a given collection
- [ ] ...
Maintainers
- Filippo Rossi (@qu4k)
- Edward Bebbington (@ebebbington)
- Luca Casonato (@lucacasonato)
Other
Related
- bson - rust bson crate
Contribution
Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and cargo fmt and commit messages are done following Conventional Commits spec.
Licence
Copyright 2020, the denodrivers team. All rights reserved. MIT license.