;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(require 'ob)
|
(defvar org-babel-default-header-args:sql nil)
|
#@32 SQL-specific header arguments.
|
(defconst org-babel-header-args:sql '((engine . :any) (out-file . :any) (dbhost . :any) (dbport . :any) (dbuser . :any) (dbpassword . :any) (database . :any)) (#$ . 469))
|
#@66 Expand BODY according to the values of PARAMS.
|
|
(fn BODY PARAMS)
|
(defalias 'org-babel-expand-body:sql #[514 "\300\301!\"\207" [org-babel-sql-expand-vars org-babel--get-vars] 6 (#$ . 677)])
|
#@118 Make MySQL cmd line args for database connection. Pass nil to omit that arg.
|
|
(fn HOST PORT USER PASSWORD DATABASE)
|
(defalias 'org-babel-sql-dbstring-mysql #[1285 "\300\301\302\205\f \303P\205 \304\305 \"\205 \306P\205( \307P\2051 \310P\257\"!\207" [combine-and-quote-strings delq nil "-h" format "-P%d" "-u" "-p" "-D"] 14 (#$ . 875)])
|
#@117 Make PostgreSQL command line args for database connection.
|
Pass nil to omit that arg.
|
|
(fn HOST PORT USER DATABASE)
|
(defalias 'org-babel-sql-dbstring-postgresql #[1028 "\300\301\302\205\f \303P\205 \304\305\"\205 \306P\205( \307PF\"!\207" [combine-and-quote-strings delq nil "-h" format "-p%d" "-U" "-d"] 12 (#$ . 1241)])
|
#@95 Make Oracle command line args for database connection.
|
|
(fn HOST PORT USER PASSWORD DATABASE)
|
(defalias 'org-babel-sql-dbstring-oracle #[1285 "\300\301&\207" [format "%s/%s@%s:%s/%s"] 12 (#$ . 1587)])
|
#@196 Make sqlcmd command line args for database connection.
|
`sqlcmd' is the preferred command line tool to access Microsoft
|
SQL Server on Windows and Linux platform.
|
|
(fn HOST USER PASSWORD DATABASE)
|
(defalias 'org-babel-sql-dbstring-mssql #[1028 "\300\301\302\303\205 \304\305 \"\205 \304\306 \"\205\" |