count: Counting records

This command mostly works like the cp command, except that it prints out a number of rows. Check your driver to see if it supports count.

Command-line help

Count records

USAGE:
    dbcrossbar count [OPTIONS] <locator>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --from-arg <from-args>...
            Pass an extra argument of the form `key=value` to the
            source driver
        --schema <schema>
            The schema to use (defaults to input table schema)

        --temporary <temporaries>...
            Temporary directories, cloud storage buckets, datasets to
            use during transfer (can be repeated)
        --where <where-clause>
            SQL where clause specifying rows to use


ARGS:
    <locator>    The locator specifying the records to count

EXAMPLE LOCATORS:
    postgres://localhost:5432/db#table
    bigquery:project:dataset.table