|
| 1 | +# vi: ft=dosini |
| 2 | +[main] |
| 3 | + |
| 4 | +# Enables context sensitive auto-completion. If this is disabled the all |
| 5 | +# possible completions will be listed. |
| 6 | +smart_completion = True |
| 7 | + |
| 8 | +# Display the completions in several columns. (More completions will be |
| 9 | +# visible.) |
| 10 | +wider_completion_menu = False |
| 11 | + |
| 12 | +# Multi-line mode allows breaking up the sql statements into multiple lines. If |
| 13 | +# this is set to True, then the end of the statements must have 'GO'. |
| 14 | +# If this is set to False then sql statements can't be split into multiple |
| 15 | +# lines. End of line (return) is considered as the end of the statement. |
| 16 | +multi_line = False |
| 17 | + |
| 18 | +# If multi_line_mode is set to "tsql", in multi-line mode, [Enter] will execute |
| 19 | +# the current input if the input ends in 'GO'. |
| 20 | +# If multi_line_mode is set to "safe", in multi-line mode, [Enter] will always |
| 21 | +# insert a newline, and [Esc] [Enter] or [Alt]-[Enter] must be used to execute |
| 22 | +# a command. |
| 23 | +multi_line_mode = tsql |
| 24 | + |
| 25 | +# Use expand mode to display the results. |
| 26 | +# Possible values: "always", "never" and "auto" |
| 27 | +# "auto" will switch to expanded mode automatically if the table is too wide to |
| 28 | +# fit the screen. |
| 29 | +expand = auto |
| 30 | + |
| 31 | +# If set to True, table suggestions will include a table alias |
| 32 | +generate_aliases = False |
| 33 | + |
| 34 | +# log_file location. |
| 35 | +# In Unix/Linux: ~/.config/mssqlcli/mssqlcli.log |
| 36 | +# In Windows: %USERPROFILE%\AppData\Local\dbcli\mssqlcli\mssqlcli.log |
| 37 | +# %USERPROFILE% is typically C:\Users\{username} |
| 38 | +log_file = default |
| 39 | + |
| 40 | +# keyword casing preference. Possible values "lower", "upper", "auto" |
| 41 | +keyword_casing = upper |
| 42 | + |
| 43 | +# casing_file location. |
| 44 | +# In Unix/Linux: ~/.config/mssql-cli/casing |
| 45 | +# In Windows: %USERPROFILE%\AppData\Local\dbcli\mssql-cli\casing |
| 46 | +# %USERPROFILE% is typically C:\Users\{username} |
| 47 | +casing_file = default |
| 48 | + |
| 49 | +# If generate_casing_file is set to True and there is no file in the above |
| 50 | +# location, one will be generated based on usage in SQL/PLPGSQL functions. |
| 51 | +generate_casing_file = False |
| 52 | + |
| 53 | +# Casing of column headers based on the casing_file described above |
| 54 | +case_column_headers = True |
| 55 | + |
| 56 | +# history_file location. |
| 57 | +# In Unix/Linux: ~/.config/mssql-cli/history |
| 58 | +# In Windows: %USERPROFILE%\AppData\Local\dbcli\mssql-cli\history |
| 59 | +# %USERPROFILE% is typically C:\Users\{username} |
| 60 | +history_file = default |
| 61 | + |
| 62 | +# Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO" |
| 63 | +# and "DEBUG". "NONE" disables logging. |
| 64 | +log_level = INFO |
| 65 | + |
| 66 | +# Order of columns when expanding * to column list |
| 67 | +# Possible values: "table_order" and "alphabetic" |
| 68 | +asterisk_column_order = table_order |
| 69 | + |
| 70 | +# Whether to qualify with table alias/name when suggesting columns |
| 71 | +# Possible values: "always", never" and "if_more_than_one_table" |
| 72 | +qualify_columns = if_more_than_one_table |
| 73 | + |
| 74 | +# When no schema is entered, only suggest objects in search_path |
| 75 | +search_path_filter = False |
| 76 | + |
| 77 | +# Default pager. |
| 78 | +# By default 'PAGER' environment variable is used |
| 79 | +# pager = less -SRXF |
| 80 | + |
| 81 | +# Table format. Possible values: psql, plain, simple, grid, fancy_grid, pipe, |
| 82 | +# ascii, double, github, orgtbl, rst, mediawiki, html, latex, latex_booktabs, |
| 83 | +# textile, moinmoin, jira, vertical, tsv, csv. |
| 84 | +# Recommended: psql, fancy_grid and grid. |
| 85 | +table_format = psql |
| 86 | + |
| 87 | +# Syntax Style. Possible values: manni, igor, xcode, vim, autumn, vs, rrt, |
| 88 | +# native, perldoc, borland, tango, emacs, friendly, monokai, paraiso-dark, |
| 89 | +# colorful, murphy, bw, pastie, paraiso-light, trac, default, fruity |
| 90 | +syntax_style = default |
| 91 | + |
| 92 | +# Keybindings: |
| 93 | +# When Vi mode is enabled you can use modal editing features offered by Vi in the REPL. |
| 94 | +# When Vi mode is disabled emacs keybindings such as Ctrl-A for home and Ctrl-E |
| 95 | +# for end are available in the REPL. |
| 96 | +vi = False |
| 97 | + |
| 98 | +# Error handling |
| 99 | +# When one of multiple SQL statements causes an error, choose to either |
| 100 | +# continue executing the remaining statements, or stopping |
| 101 | +# Possible values "STOP" or "RESUME" |
| 102 | +on_error = STOP |
| 103 | + |
| 104 | +# Set threshold for row limit prompt. Use 0 to disable prompt. |
| 105 | +row_limit = 1000 |
| 106 | + |
| 107 | +# Skip intro on startup and goodbye on exit |
| 108 | +less_chatty = False |
| 109 | + |
| 110 | +# mssql-cli prompt |
| 111 | +# \t - Current date and time |
| 112 | +# \u - Username |
| 113 | +# \h - Hostname of the server |
| 114 | +# \d - Database name |
| 115 | +# \p - Database port |
| 116 | +# \n - Newline |
| 117 | +prompt = '\d> ' |
| 118 | + |
| 119 | +# Number of lines to reserve for the suggestion menu |
| 120 | +min_num_menu_lines = 4 |
| 121 | + |
| 122 | +# Character used to left pad multi-line queries to match the prompt size. |
| 123 | +multiline_continuation_char = '.' |
| 124 | + |
| 125 | +# Custom colors for the completion menu, toolbar, etc. |
| 126 | +[colors] |
| 127 | +completion-menu.completion.current = 'bg:#ffffff #000000' |
| 128 | +completion-menu.completion = 'bg:#008888 #ffffff' |
| 129 | +completion-menu.meta.completion.current = 'bg:#44aaaa #000000' |
| 130 | +completion-menu.meta.completion = 'bg:#448888 #ffffff' |
| 131 | +completion-menu.multi-column-meta = 'bg:#aaffff #000000' |
| 132 | +scrollbar.arrow = 'bg:#003333' |
| 133 | +scrollbar = 'bg:#00aaaa' |
| 134 | +selected = '#ffffff bg:#6666aa' |
| 135 | +search = '#ffffff bg:#4444aa' |
| 136 | +search.current = '#ffffff bg:#44aa44' |
| 137 | +bottom-toolbar = 'bg:#222222 #aaaaaa' |
| 138 | +bottom-toolbar.off = 'bg:#222222 #888888' |
| 139 | +bottom-toolbar.on = 'bg:#222222 #ffffff' |
| 140 | +search-toolbar = 'noinherit bold' |
| 141 | +search-toolbar.text = 'nobold' |
| 142 | +system-toolbar = 'noinherit bold' |
| 143 | +arg-toolbar = 'noinherit bold' |
| 144 | +arg-toolbar.text = 'nobold' |
| 145 | +bottom-toolbar.transaction.valid = 'bg:#222222 #00ff5f bold' |
| 146 | +bottom-toolbar.transaction.failed = 'bg:#222222 #ff005f bold' |
| 147 | + |
| 148 | +# style classes for colored table output |
| 149 | +output.header = "#00ff5f bold" |
| 150 | +output.odd-row = "" |
| 151 | +output.even-row = "" |
| 152 | + |
| 153 | +# Named queries are queries you can execute by name. |
| 154 | +[named queries] |
| 155 | + |
| 156 | +# Format for number representation |
| 157 | +# for decimal "d" - 12345678, ",d" - 12,345,678 |
| 158 | +# for float "g" - 123456.78, ",g" - 123,456.78 |
| 159 | +[data_formats] |
| 160 | +decimal = "" |
| 161 | +float = "" |
0 commit comments