Tabli - Data Print command

Undraw Windows

About

data print is a command that prints the whole content of a resource.

This command is useful to print content of data resource that have a small size. If your data resource is to big to be printed, you can use:

  • the head command to print the first content of a data resource
  • the tail command to print the last content of a data resource

Syntax

tabli data print -h
Tabli data print
================

Print the content of data resources.

This command will print all data.
To print in a limited fashion, you can use the following commands:
 * `head` :  print the head (the first pieces of content)
 * `tail` :  print the tail (the last pieces of content)



Examples
--------

 1 - Show all the records of the table `sales` from the data store `sqlite`:


    tabli data print sales@sqlite


 2 - Show the content of the file `request.log`:


    tabli data print request.log




Syntax
------


    tabli data print [options|flags] <data-selector...>


where:


  Arguments:

    <data-selector...>                                      One or more data or script selectors


  Data Definition Options:

    -a,--attribute <attributeName=value>                    Set specific data resource attributes


  Selection Options:

    -wd,--with-dependencies                                 If set, the dependencies will be also selected


  Global Options:

    -cf,--conf <path>                                       The path to a configuration file

    -cv,--connection-vault <path>                           The path where the connection vault is located

    -h,--help                                               Print this help

    -l,--log-level <error|warning|tip|info|fine>            Set the log level

    -ns,--not-strict                                        A minor error will not stop the process.

    -odu,--output-data-uri <outputDataUri>                  defines the output data uri for the feedback data (default: console)

    -oo,--output-operation <dataOperation>                  defines the data operations (replace, truncate) on an existing output resource before transfer.

    -oop,--output-transfer-operation <transferOperation>    defines the output transfer operation (insert, update, merge, copy). Default to `copy` for a file system and `insert` for a database.

    -pp,--passphrase <passphrase>                           A passphrase (master password) to decrypt the encrypted values




Related HowTo
Undraw Windows
How to create JSON files from Tabular data with a JSON template

This howto will show you how to create a JSON file from tabular data with the template operation and a JSON template
Undraw Windows
How to execute and shows the result of a SQL Query

This howto will shows you to execute and shows the result of a SQL Query against the tpcds data
Undraw Windows
How to generate a normal distribution with an histogram generator

This how-to shows you how to generate data that follows a normal distribution with the column histogram generator
Undraw Windows
How to generate a sequence based on provided values

This how-to shows you how to generate a sequence based on provided values with the column sequence generator.
Undraw Windows
How to generate a sequence of date and timestamp

This how-to shows you how to generate a sequence of date and timestamp with the column sequence generator.
Undraw Windows
How to generate a sequence of letters

This how-to shows you how to generate an string,varchar, text sequence with the column sequence generator.
Undraw Windows
How to generate a sequence of numbers

This how-to shows you how to generate an integer sequence (1,2,3,…) with the column sequence generator.
Undraw Windows
How to generate random data

This how-to shows you how to generate random data with the column random generator.
Undraw Windows
How to get data from a list of values at random

This how-to shows you how to generate data from a list of values at random data with the column histogram generator.
Undraw Windows
How to load a CSV file into a SQL table

How to upload a CSV file into a SQL table in two steps

Task Runner