This program connects the database server through Perl's DBI, and provides DB-accessing API and the simple management UI.
If you use package.el with Marmalade or MELPA, you just select the package 'edbi' and install it.
Next, you install the perl module `RPC::EPC::Service', DBI and Database drivers with CPAN.
Example:
$ cpan RPC::EPC::Service DBI DBD::SQLite DBD::Pg DBD::mysql
Here, SQLite, Postgresql and MySQL drivers will be installed, in addition to the EPC module. Of course, you can choose the drivers for your environment.
This program depends on following programs:
Place this program (edbi.el and edbi-bridge.pl) in your load path and add following code.
One can install some helper applications:
M-x `edbi:open-db-viewer' opens a dialog for DB connection.
This buffer enumerates tables and views.
Check the key-bind `edbi:dbview-keymap'.
This buffer shows the table definition information.
Check the key-bind `edbi:dbview-table-keymap'.
You can edit SQL in this buffer, which supports SQL syntax highlight and auto completion by auto-complete.el.
Check the key-bind `edbi:sql-mode-map'.
You can browser the results for executed SQL.
Check the key-bind `edbi:dbview-query-result-keymap'.
Here is an example setup to open EDBI perspective with Super-d.
(autoload 'e2wm:dp-edbi "e2wm-edbi" nil t) (global-set-key (kbd "s-d") 'e2wm:dp-edbi)
TODO...
(C) 2012,2013,2014 SAKURAI Masashi All rights reserved. m.sakurai at kiwanami.net
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4