emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Tables to DB


From: Sebastian Rose
Subject: Re: [Orgmode] Tables to DB
Date: Fri, 04 Dec 2009 21:01:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

andrea <address@hidden> writes:
> Org tables are great but for visualization and querying maybe databases
> are better, for example sqlite for small amounts of data is very nice
> and powerful.
>
> I found this
> http://orgmode.org/worg/org-tutorials/multitarget-tables.php which I
> haven't tried yet but looks nice.
>
> I would like to have an automatic way to automatically fill some
> database tables from orgmode tables, done maybe automatically when the
> file is saved.
> So the hook should:
> - check for tables with #+ORGTBL line above
> - store the data on the right sqlite table
>
> Rewrite completely the table every time is not a big problem since the
> amount of data is really not big.
>
> Given that I will be able to do nice things with python-sqlite and also
> finally replace this
> http://alexandria.rubyforge.org/
> for book management
>
> Anyone is already doing something like that?
>

In SQL-mode, one can turn on the `electric semilcolon' to send queries
to a database.

Since this is part of emacs, why not try to use it? Maybe this could be
used from Org-mode, too?


  Sebastian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]