github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/cli/testdata/dump/flags (about)

     1  sql
     2  create database t;
     3  create table t.f (x int, y int);
     4  insert into t.f values (42, 69)
     5  ----
     6  INSERT 1
     7  
     8  dump t f --dump-mode=both
     9  ----
    10  ----
    11  CREATE TABLE f (
    12  	x INT8 NULL,
    13  	y INT8 NULL,
    14  	FAMILY "primary" (x, y, rowid)
    15  );
    16  
    17  INSERT INTO f (x, y) VALUES
    18  	(42, 69);
    19  ----
    20  ----
    21  
    22  dump t f --dump-mode=schema
    23  ----
    24  CREATE TABLE f (
    25  	x INT8 NULL,
    26  	y INT8 NULL,
    27  	FAMILY "primary" (x, y, rowid)
    28  );
    29  
    30  dump t f --dump-mode=data
    31  noroundtrip
    32  ----
    33  ----
    34  
    35  INSERT INTO f (x, y) VALUES
    36  	(42, 69);
    37  ----
    38  ----