5

I would like to evaluate SQL source blocks in Org Babel using the connections I have set up in sql-connection-alist from sql-mode. This way I can save database credentials in a private (Elisp) file and share the files with the queries.

Is there any way to configure this in Org Mode?

Conor
  • 475
  • 3
  • 11

1 Answers1

4

I submitted a patch to do this: ob-sql.el: Option to reference connections in `sql-connection-alist'. It should be included in the next version of Org Mode.

larsen
  • 231
  • 3
  • 10