Lines Matching refs:mode

115 # -column              set output mode to 'column'
120 # -csv set output mode to 'csv'
125 # -html set output mode to HTML
130 # -line set output mode to 'line'
135 # -list set output mode to 'list'
207 catchcmd "test.db" ".mode \"insert FOO"
208 } {1 {Error: mode should be one of: ascii box column csv html insert json line list markdown qbox q…
210 catchcmd "test.db" ".mode \'insert FOO"
211 } {1 {Error: mode should be one of: ascii box column csv html insert json line list markdown qbox q…
238 catchcmd "test.db" ".mode FOO"
239 } {1 {Error: mode should be one of: ascii box column csv html insert json line list markdown qbox q…
241 catchcmd "test.db" ".mode csv"
244 catchcmd "test.db" ".mode \"csv\""
333 # .explain ON|OFF Turn output mode suitable for EXPLAIN on or off.
425 # .mode MODE ?TABLE? Set output mode where MODE is one of:
436 catchcmd "test.db" ".mode"
437 } {0 {current output mode: list}}
439 catchcmd "test.db" ".mode FOO"
440 } {1 {Error: mode should be one of: ascii box column csv html insert json line list markdown qbox q…
442 catchcmd "test.db" ".mode csv"
445 catchcmd "test.db" ".mode column"
448 catchcmd "test.db" ".mode html"
451 catchcmd "test.db" ".mode insert"
454 catchcmd "test.db" ".mode line"
457 catchcmd "test.db" ".mode list"
460 catchcmd "test.db" ".mode tabs"
463 catchcmd "test.db" ".mode tcl"
467 catchcmd "test.db" ".mode tcl BAD"
621 [regexp {mode:} $res] \
692 # .width NUM NUM ... Set column widths for "column" mode
709 catchcmd "test.db" ".mode column\n.header off\n.width 10 -10\nSELECT 'abcdefg', 123456;"
713 catchcmd "test.db" ".mode column\n.header off\n.width -10 10\nSELECT 'abcdefg', 123456;"
917 # Test the output of ".mode insert"
920 catchcmd test.db ".mode insert t1\nselect * from t1;"
928 # Test the output of ".mode insert" with headers
931 catchcmd test.db ".mode insert t1\n.headers on\nselect * from t1;"
939 # Test the output of ".mode insert"
942 catchcmd test.db ".mode insert t3\nselect * from t3;"
950 # Test the output of ".mode insert" with headers
953 catchcmd test.db ".mode insert t3\n.headers on\nselect * from t3;"
961 # Test the output of ".mode tcl"
972 catchcmd test.db ".mode tcl\nselect * from t1;"
980 # Test the output of ".mode tcl" with multiple columns
987 catchcmd test.db ".mode tcl\nselect * from t2;"
992 # Test the output of ".mode tcl" with ".nullvalue"
995 catchcmd test.db ".mode tcl\n.nullvalue NULL\nselect * from t2;"
1000 # Test the output of ".mode tcl" with Tcl reserved characters
1007 foreach {x y} [catchcmd test.db ".mode tcl\nselect * from tcl1;"] break
1017 # Test the output of ".mode quote"
1020 catchcmd test.db ".mode quote\nselect x'0123456789ABCDEF';"
1200 .mode box
1247 .mode csv
1252 .mode csv