summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/modules/mkiv/s-sql-tables.mkiv
blob: 4c8bcddac50b57ebf8511f9e1c3a407f309c017e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%D \module
%D   [       file=s-sql-tables,
%D        version=2012.07.12,
%D          title=\CONTEXT\ Extra Modules,
%D       subtitle=SQL,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\startmodule[sql-tables]

\registerctxluafile{s-sql-tables}{}

\doifsomething {\currentmoduleparameter{method}}{
    \ctxlua{utilities.sql.setmethod("\currentmoduleparameter{method}")}
}

\doifsomething {\currentmoduleparameter{server}} {
    \ctxlua{utilities.sql.setserver("\currentmoduleparameter{server}")}
}

\installmodulecommandluasingle \showdefinedsqltables {moduledata.sql.tables.showdefined}

\stopmodule