Skip to content

Ivcap datafabric query

ivcap datafabric query

Query the datafabric for any combination of entity, schema and time.

ivcap datafabric query [-e entity] [-s schemaPrefix] [flags]

Options

      --at-time string         query state at this time in the past
  -c, --content-path string    json path filter on aspect's content ('$.images[*] ? (@.size > 10000)')
  -e, --entity string          URN/UUID of entity
      --filter string          filter list (e.g. "name~=Fred")
      --full-record            with --get-if-one, print the entire aspect record, not only its content
  -g, --get-if-one             if only one found, get it immediately
  -h, --help                   help for query
      --include-content        if set, also include aspect's content in list
  -l, --limit int              max number of records to be returned (default 10)
      --order-by string        feature to order list by (e.g. "created-at,status")
      --order-desc             if set, order in descending order
  -p, --page string            page cursor
      --schema string          Alias for --schema-prefix
  -s, --schema-prefix string   schema prefix
      --search string          search list

Options inherited from parent commands

      --access-token string   Access token to use for authentication with API server [IVCAP_ACCESS_TOKEN]
      --context string        Context (deployment) to use
      --debug                 Set logging level to DEBUG
      --no-history            Do not store history
  -o, --output string         Set format for displaying output [json, yaml]
      --silent                Do not show any progress information
      --timeout int           Max. number of seconds to wait for completion (default 30)

SEE ALSO