Caltech Library logo

read

Syntax

    dataset COLLECTION_NAME read KEY

Description

The writes the JSON document to standard out (unless you’ve specific an alternative location with the “-output” option) for the given KEY.

Usage

An example we’re assuming there is a JSON document with a KEY of “r1”. Our collection name is “data.ds”

    dataset data.ds read r1

Related topics: keys, create, update, delete