# 10.3. Databases

The Database endpoint provides an interface to an entire database with in CouchDB. These are database-level, rather than document-level requests.

For all these requests, the database name within the URL path should be the database name that you wish to perform the operation on. For example, to obtain the meta information for the database `recipes`, you would use the HTTP request:

    GET /recipes

For clarity, the form below is used in the URL paths:

    GET /db

Where `db` is the name of any database.

- 10.3.1. `/db`
  - 10.3.1.1. Specifying the Document ID
  - 10.3.1.2. Batch Mode Writes
- 10.3.2. `/db/_all_docs`
- 10.3.3. `/db/_design_docs`
  - 10.3.3.1. Sending multiple queries to a database
- 10.3.4. `/db/_bulk_get`
- 10.3.5. `/db/_bulk_docs`
  - 10.3.5.1. Inserting Documents in Bulk
  - 10.3.5.2. Updating Documents in Bulk
  - 10.3.5.3. Bulk Documents Transaction Semantics
  - 10.3.5.4. Bulk Document Validation and Conflict Errors
- 10.3.6. `/db/_find`
  - 10.3.6.1. Selector Syntax
    - 10.3.6.1.1. Selector Basics
    - 10.3.6.1.2. Selector with 2 fields
    - 10.3.6.1.3. Subfields
    - 10.3.6.1.4. Operators
    - 10.3.6.1.5. Implicit Operators
    - 10.3.6.1.6. Explicit Operators
    - 10.3.6.1.7. Combination Operators
    - 10.3.6.1.8. Condition Operators
    - 10.3.6.1.9. Creating Selector Expressions
  - 10.3.6.2. Sort Syntax
  - 10.3.6.3. Filtering Fields
  - 10.3.6.4. Pagination
  - 10.3.6.5. Execution Statistics
- 10.3.7. `/db/_index`
  - 10.3.7.1. Partial Indexes
- 10.3.8. `/db/_explain`
  - 10.3.8.1. Index selection
- 10.3.9. `/db/_changes`
  - 10.3.9.1. Changes Feeds
    - 10.3.9.1.1. Polling
    - 10.3.9.1.2. Long Polling
    - 10.3.9.1.3. Continuous
    - 10.3.9.1.4. Event Source
  - 10.3.9.2. Filtering
    - 10.3.9.2.1. _doc_ids
    - 10.3.9.2.2. _selector
      - 10.3.9.2.2.1. Missing selector
      - 10.3.9.2.2.2. Not a valid JSON object
      - 10.3.9.2.2.3. Not a valid selector
    - 10.3.9.2.3. _design
    - 10.3.9.2.4. _view
- 10.3.10. `/db/_compact`
- 10.3.11. `/db/_compact/design-doc`
- 10.3.12. `/db/_ensure_full_commit`
- 10.3.13. `/db/_view_cleanup`
- 10.3.14. `/db/_security`
- 10.3.15. `/db/_purge`
  - 10.3.15.1. Updating Indexes
- 10.3.16. `/db/_missing_revs`
- 10.3.17. `/db/_revs_diff`
- 10.3.18. `/db/_revs_limit`