| Server IP : 217.160.0.212 / Your IP : 216.73.216.15 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/org/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (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) (dbinstance . :any) (database . :any)) (#$ . 145)) #@66 Expand BODY according to the values of PARAMS. (fn BODY PARAMS) (defalias 'org-babel-expand-body:sql #[514 "\300\236A\301\236A\302\303\304\305!\"E\306#\207" [:prologue :epilogue mapconcat identity org-babel-sql-expand-vars org-babel--get-vars "\n"] 11 (#$ . 373)]) #@156 Set `sql-product' in Org edit buffer. Set `sql-product' in Org edit buffer according to the corresponding :engine source block header argument. (fn INFO) (defalias 'org-babel-edit-prep:sql #[257 "\300\3018\236A\3021 \303!0\207\210\304\207" [:engine 2 (user-error) sql-set-product "Cannot set `sql-product' in Org Src edit buffer"] 4 (#$ . 654)]) #@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 (#$ . 1011)]) #@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 (#$ . 1378)]) #@336 Make Oracle command line arguments for database connection. If HOST and PORT are nil then don't pass them. This allows you to use names defined in your "TNSNAMES" file. So you can connect with <user>/<password>@<host>:<port>/<database> or <user>/<password>@<database> using its alias. (fn HOST PORT USER PASSWORD DATABASE) (defalias 'org-babel-sql-dbstring-oracle #[1285 "\203! \203! \211\203! \203! \203! \300\301&\207\2034 \2034 \211\2034 \300\302$\207\303\304!\207" [format "%s/%s@%s:%s/%s" "%s/%s@%s" user-error "Missing information to connect to database"] 12 (#$ . 1725)]) #@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\"