162 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			162 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| # vi: ft=dosini
 | |
| [main]
 | |
| 
 | |
| # Enables context sensitive auto-completion. If this is disabled the all
 | |
| # possible completions will be listed.
 | |
| smart_completion = True
 | |
| 
 | |
| # Display the completions in several columns. (More completions will be
 | |
| # visible.)
 | |
| wider_completion_menu = False
 | |
| 
 | |
| # Multi-line mode allows breaking up the sql statements into multiple lines. If
 | |
| # this is set to True, then the end of the statements must have a semi-colon.
 | |
| # If this is set to False then sql statements can't be split into multiple
 | |
| # lines. End of line (return) is considered as the end of the statement.
 | |
| multi_line = True
 | |
| 
 | |
| # If multi_line_mode is set to "tsql", in multi-line mode, [Enter] will execute
 | |
| # the current input if the input ends in a semicolon.
 | |
| # If multi_line_mode is set to "safe", in multi-line mode, [Enter] will always
 | |
| # insert a newline, and [Esc] [Enter] or [Alt]-[Enter] must be used to execute
 | |
| # a command.
 | |
| multi_line_mode = safe
 | |
| 
 | |
| # Use expand mode to display the results.
 | |
| # Possible values: "always", "never" and "auto"
 | |
| # "auto" will switch to expanded mode automatically if the table is too wide to
 | |
| # fit the screen.
 | |
| expand = never
 | |
| 
 | |
| # If set to True, table suggestions will include a table alias
 | |
| generate_aliases = True
 | |
| 
 | |
| # log_file location.
 | |
| # In Unix/Linux: ~/.config/mssqlcli/mssqlcli.log
 | |
| # In Windows: %USERPROFILE%\AppData\Local\dbcli\mssqlcli\mssqlcli.log
 | |
| # %USERPROFILE% is typically C:\Users\{username}
 | |
| log_file = default
 | |
| 
 | |
| # keyword casing preference. Possible values "lower", "upper", "auto"
 | |
| keyword_casing = upper
 | |
| 
 | |
| # casing_file location.
 | |
| # In Unix/Linux: ~/.config/mssql-cli/casing
 | |
| # In Windows: %USERPROFILE%\AppData\Local\dbcli\mssql-cli\casing
 | |
| # %USERPROFILE% is typically C:\Users\{username}
 | |
| casing_file = default
 | |
| 
 | |
| # If generate_casing_file is set to True and there is no file in the above
 | |
| # location, one will be generated based on usage in SQL/PLPGSQL functions.
 | |
| generate_casing_file = False
 | |
| 
 | |
| # Casing of column headers based on the casing_file described above
 | |
| case_column_headers = True
 | |
| 
 | |
| # history_file location.
 | |
| # In Unix/Linux: ~/.config/mssql-cli/history
 | |
| # In Windows: %USERPROFILE%\AppData\Local\dbcli\mssql-cli\history
 | |
| # %USERPROFILE% is typically C:\Users\{username}
 | |
| history_file = default
 | |
| 
 | |
| # Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO"
 | |
| # and "DEBUG". "NONE" disables logging.
 | |
| log_level = INFO
 | |
| 
 | |
| # Order of columns when expanding * to column list
 | |
| # Possible values: "table_order" and "alphabetic"
 | |
| asterisk_column_order = table_order
 | |
| 
 | |
| # Whether to qualify with table alias/name when suggesting columns
 | |
| # Possible values: "always", never" and "if_more_than_one_table"
 | |
| qualify_columns = if_more_than_one_table
 | |
| 
 | |
| # When no schema is entered, only suggest objects in search_path
 | |
| search_path_filter = False
 | |
| 
 | |
| # Default pager.
 | |
| # By default 'PAGER' environment variable is used
 | |
| pager = less -RXF
 | |
| 
 | |
| # Table format. Possible values: psql, plain, simple, grid, fancy_grid, pipe,
 | |
| # ascii, double, github, orgtbl, rst, mediawiki, html, latex, latex_booktabs,
 | |
| # textile, moinmoin, jira, vertical, tsv, csv.
 | |
| # Recommended: psql, fancy_grid and grid.
 | |
| table_format = vertical
 | |
| 
 | |
| # Syntax Style. Possible values: manni, igor, xcode, vim, autumn, vs, rrt,
 | |
| # native, perldoc, borland, tango, emacs, friendly, monokai, paraiso-dark,
 | |
| # colorful, murphy, bw, pastie, paraiso-light, trac, default, fruity
 | |
| syntax_style = vim
 | |
| 
 | |
| # Keybindings:
 | |
| # When Vi mode is enabled you can use modal editing features offered by Vi in the REPL.
 | |
| # When Vi mode is disabled emacs keybindings such as Ctrl-A for home and Ctrl-E
 | |
| # for end are available in the REPL.
 | |
| vi = True
 | |
| 
 | |
| # Error handling
 | |
| # When one of multiple SQL statements causes an error, choose to either
 | |
| # continue executing the remaining statements, or stopping
 | |
| # Possible values "STOP" or "RESUME"
 | |
| on_error = STOP
 | |
| 
 | |
| # Set threshold for row limit prompt. Use 0 to disable prompt.
 | |
| row_limit = 100
 | |
| 
 | |
| # Skip intro on startup and goodbye on exit
 | |
| less_chatty = False
 | |
| 
 | |
| # mssql-cli prompt
 | |
| # \t - Current date and time
 | |
| # \u - Username
 | |
| # \h - Hostname of the server
 | |
| # \d - Database name
 | |
| # \p - Database port
 | |
| # \n - Newline
 | |
| prompt = '\d> '
 | |
| 
 | |
| # Number of lines to reserve for the suggestion menu
 | |
| min_num_menu_lines = 4
 | |
| 
 | |
| # Character used to left pad multi-line queries to match the prompt size.
 | |
| multiline_continuation_char = '.'
 | |
| 
 | |
| # Custom colors for the completion menu, toolbar, etc.
 | |
| [colors]
 | |
| completion-menu.completion.current = 'bg:#ffffff #000000'
 | |
| completion-menu.completion = 'bg:#008888 #ffffff'
 | |
| completion-menu.meta.completion.current = 'bg:#44aaaa #000000'
 | |
| completion-menu.meta.completion = 'bg:#448888 #ffffff'
 | |
| completion-menu.multi-column-meta = 'bg:#aaffff #000000'
 | |
| scrollbar.arrow = 'bg:#003333'
 | |
| scrollbar = 'bg:#00aaaa'
 | |
| selected = '#ffffff bg:#6666aa'
 | |
| search = '#ffffff bg:#4444aa'
 | |
| search.current = '#ffffff bg:#44aa44'
 | |
| bottom-toolbar = 'bg:#222222 #aaaaaa'
 | |
| bottom-toolbar.off = 'bg:#222222 #888888'
 | |
| bottom-toolbar.on = 'bg:#222222 #ffffff'
 | |
| search-toolbar = 'noinherit bold'
 | |
| search-toolbar.text = 'nobold'
 | |
| system-toolbar = 'noinherit bold'
 | |
| arg-toolbar = 'noinherit bold'
 | |
| arg-toolbar.text = 'nobold'
 | |
| bottom-toolbar.transaction.valid = 'bg:#222222 #00ff5f bold'
 | |
| bottom-toolbar.transaction.failed = 'bg:#222222 #ff005f bold'
 | |
| 
 | |
| # style classes for colored table output
 | |
| output.header = "#00ff5f bold"
 | |
| output.odd-row = ""
 | |
| output.even-row = ""
 | |
| 
 | |
| # Named queries are queries you can execute by name.
 | |
| [named queries]
 | |
| 
 | |
| # Format for number representation
 | |
| # for decimal "d" - 12345678, ",d" - 12,345,678
 | |
| # for float "g" - 123456.78, ",g" - 123,456.78
 | |
| [data_formats]
 | |
| decimal = ""
 | |
| float = ""
 |