emacs-orgmode
[Top][All Lists]
Advanced

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

[BUG] ob-sqlite: can not override header argument


From: Max Nikulin
Subject: [BUG] ob-sqlite: can not override header argument
Date: Thu, 17 Aug 2023 23:25:12 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

It seems there is no way to override for a specific code block header arguments specified for the whole file through #+property:

#+property: header-args:sqlite :header
#+begin_src elisp :results none
  (require 'ob-sqlite)
#+end_src

I have tried "nil", etc. for ":header", but column names are always added to results.

#+begin_src sqlite :results verbatim :header no
        select 1 as "one", 2 as "two"
#+end_src

#+RESULTS:
: one,two
: 1,2

Bonus: it seems condition for :csv is inverted, so -csv is always added. I have not managed to override comma using :separator since -csv is added later.

I am just testing a patch for ob-sqlite, I am not a real user of it.




reply via email to

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