Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Agnes Lin committed Jul 27, 2020
1 parent 71717e8 commit 5399b98
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 35 deletions.
4 changes: 2 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# the last matching pattern has the most precedence.

# Alumni maintainers
# @ssh24 @virkt25 @loay @kjdelisle
# @ssh24 @virkt25 @loay @kjdelisle @b-admike

# Core team members from IBM
* @jannyHou @b-admike @dhmlau
* @jannyHou @dhmlau
49 changes: 16 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,22 @@ The `loopback-connector-couchdb2` module is the CouchDB 2.0 connector for the
LoopBack framework that supports the advanced functionality originally found
only in Cloudant but that is now available in CouchDB.

<!-- TOC -->

- [Getting Started](#getting-started)
- [Model](#model)
- [Map Between Model And Document](#map-between-model-and-document)
- [Model-specific Configuration](#model-specific-configuration)
- [_rev Property](#_rev-property)
- [Example CRUD operations with `_rev`](#example-crud-operations-with-_rev)
- [Setup Couchdb Instance](#setup-couchdb-instance)
- [Installation](#installation)
- [Configuration](#configuration)
- [Generate Datasource](#generate-datasource)
- [Datasource Config](#datasource-config)
- [Example Usage](#example-usage)
- [CRUD](#crud)
- [Migration](#migration)
- [autoupdate vs automigrate](#autoupdate-vs-automigrate)
- [isActual](#isactual)
- [property index](#property-index)
- [Example Code](#example-code)
- [Discovery](#discovery)
- [Query](#query)
- [View](#view)
- [Bulk replace](#bulk-replace)
- [Testing](#testing)
- [Docker](#docker)
- [More into](#more-info)

<!-- /TOC -->

# Getting Started

## Model
## Installation

In your application root directory, enter this command to install the connector:

```sh
npm install loopback-connector-couchdb2 --save
```

This installs the module from npm and adds it as a dependency to the
application's `package.json` file.

If you create a CouchDB 2.0 data source using the data source generator as described
below, you don't have to do this, since the generator will run `npm install` for
you.

## Getting Started - Model

### Map Between Model And Document

Expand Down

0 comments on commit 5399b98

Please sign in to comment.