aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/doc/sisu/v1/html/sisu_sqlite.7.html
blob: 7559ff17ce1970fc5f91df659e4f960990f22884 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!-- manual page source format generated by PolyglotMan v3.2, -->
<!-- available at http://polyglotman.sourceforge.net/ -->

<html>
<head>
<title>"sisu_sqlite"("1") manual page</title>
</head>
<body bgcolor='white'>
<a href='#toc'>Table of Contents</a><p>

<h2><a name='sect0' href='#toc0'>Name</a></h2>
sisu - package to install what sisu needs to to populate a postgresql
database (postgresql dependency component) 
<h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
sisu -dv [filename/wildcard
]  sisu -dv [instruction] SISU - SEARCH, RALPH AMISSAH  
<p> 1. SQLITE  
<p> 1.1 NAME

<p>  <b>SiSU</b> - Structured information, Serialized Units - a document publishing
system. 
<p> 1.2 DESCRIPTION 
<p>  Information related to using sqlite with sisu
(and related to the sisu_sqlite dependency package, which is a dummy package
to install dependencies needed for <b>SiSU</b> to populate an sqlite database,
this being part of <b>SiSU</b> - man sisu). 
<p> 1.3 SYNOPSIS 
<p>    sisu -d &nbsp;[instruction]
&nbsp;[filename/wildcard &nbsp;if &nbsp;required]<br>
 
<p>    sisu -d --(sqlite|pg) --[instruction] &nbsp;[filename/wildcard &nbsp;if <br>
   required]<br>
 
<p> 1.4 COMMANDS 
<p>  Mappings to two databases are provided by default, postgresql
and sqlite, the same commands are used within sisu to construct and populate
databases however -d (lowercase) denotes sqlite and -D (uppercase) denotes
postgresql, alternatively --sqlite or --pgsql may be used 
<p>  <b>-d or --sqlite</b> may
be used interchangeably. 
<p> 1.4.1 CREATE AND DESTROY DATABASE 
<p> 
<dl>

<dt><b>&nbsp;--sqlite &nbsp;--createall</b>
</dt>
<dd>&nbsp;initial &nbsp;step, &nbsp;creates &nbsp;required &nbsp;relations &nbsp;(tables, &nbsp;indexes) &nbsp;in &nbsp;existing
&nbsp;(sqlite) &nbsp;database &nbsp;(a &nbsp;database &nbsp;should &nbsp;be &nbsp;created &nbsp;as requested) &nbsp;(rb.dbi) the
&nbsp;same &nbsp;name &nbsp;as &nbsp;working &nbsp;directory, &nbsp;as 
<p> </dd>

<dt><b>&nbsp;sisu &nbsp;-d &nbsp;--createdb</b> </dt>
<dd>&nbsp;creates &nbsp;database &nbsp;where
&nbsp;no &nbsp;database &nbsp;existed &nbsp;before &nbsp;as 
<p> </dd>

<dt><b>&nbsp;sisu &nbsp;-d &nbsp;--create</b> </dt>
<dd>&nbsp;creates &nbsp;database &nbsp;tables &nbsp;where
&nbsp;no &nbsp;database &nbsp;tables &nbsp;existed before &nbsp;database &nbsp;tables &nbsp;where &nbsp;no &nbsp;database &nbsp;tables
&nbsp;existed 
<p> </dd>

<dt><b>&nbsp;sisu &nbsp;-d &nbsp;--dropall</b> </dt>
<dd>&nbsp;destroys &nbsp;database &nbsp;(including &nbsp;all &nbsp;its &nbsp;content)!
&nbsp;kills &nbsp;data and &nbsp;drops &nbsp;tables, &nbsp;indexes &nbsp;and &nbsp;database &nbsp;associated &nbsp;with &nbsp;a given
&nbsp;directory &nbsp;(and &nbsp;directories &nbsp;of &nbsp;the &nbsp;same &nbsp;name). &nbsp;a 
<p> </dd>

<dt><b>&nbsp;sisu &nbsp;-d &nbsp;--recreate</b> </dt>
<dd>&nbsp;destroys

<p>&nbsp;existing &nbsp;database &nbsp;and &nbsp;builds &nbsp;a &nbsp;new &nbsp;empty &nbsp;database &nbsp;structure 
<p> </dd>
</dl>
1.4.2 IMPORT

<p>AND REMOVE DOCUMENTS 
<p> 
<dl>

<dt><b>&nbsp;sisu &nbsp;-d &nbsp;--import &nbsp;-v &nbsp;&nbsp;[filename/wildcard]</b> </dt>
<dd>populates database
with the contents of the file. Imports documents(s) specified to an sqlite
database (at an object level). 
<p> </dd>

<dt><b>&nbsp;sisu &nbsp;-d &nbsp;--update &nbsp;-v &nbsp;&nbsp;[filename/wildcard]</b> </dt>
<dd>updates

<p>file contents in database 
<p> </dd>

<dt><b>&nbsp;sisu &nbsp;-d &nbsp;--remove &nbsp;-v &nbsp;&nbsp;[filename/wildcard]</b> </dt>
<dd>removes
specified document from sqlite database. 
<p> </dd>
</dl>
DOCUMENT INFORMATION (METADATA)
 
<p> METADATA  
<p>  Document Manifest @ &lt;<a href='http://sisudoc.org/sisu_manual/sisu_sqlite/sisu_manifest.html'>http://sisudoc.org/sisu_manual/sisu_sqlite/sisu_manifest.html</a>
&gt;

<p>  <b>Dublin Core</b> (DC) 
<p>  <i>DC</i> tags included with this document are provided here.

<p>  DC Title: <i>SiSU</i> - Search 
<p>  DC Creator: <i>Ralph</i> Amissah 
<p>  DC Rights: <i>Copyright</i>
(C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3 
<p>  DC
Type: <i>information</i> 
<p>  DC Date created: <i>2002-08-28</i> 
<p>  DC Date issued: <i>2002-08-28</i>

<p>  DC Date available: <i>2002-08-28</i> 
<p>  DC Date modified: <i>2007-09-16</i> 
<p>  DC Date: <i>2007-09-16</i>

<p>  <b>Version Information</b> 
<p>  Sourcefile: <i>sisu_sqlite.sst</i> 
<p>  Filetype: <i>SiSU</i> text

<p>0.58 
<p>  Sourcefile Digest, MD5(sisu_sqlite.sst)= <i>c4717fcab8a43de498d41a916bb99551</i>

<p>  Skin_Digest: MD5(skin_sisu_manual.rb)= <i>20fc43cf3eb6590bc3399a1aef65c5a9</i>

<p>  <b>Generated</b> 
<p>  Document (metaverse) last generated: <i>Sat</i> Sep 29 17:05:38

<p>+0100 2007 
<p>  Generated by: <i>SiSU</i> <i>0.59.1</i> of 2007w39/2 (2007-09-25) 
<p>  Ruby version:
<i>ruby</i> 1.8.6 (2007-06-07 patchlevel 36) &nbsp;[i486-linux] 
<p> 
<p> 
<dl>

<dt>Other versions of this
document: </dt>
<dd></dd>

<dt>manifest: &lt;<a href='http://www.jus.uio.no/sisu/sisu_sqlite/sisu_manifest.html'><a href='http://www.jus.uio.no/sisu/sisu_sqlite/sisu_manifest.html'>http://www.jus.uio.no/sisu/sisu_sqlite/sisu_manifest.html</a>
</a>
&gt;
</dt>
<dd></dd>

<dt>html: &lt;<a href='http://www.jus.uio.no/sisu/sisu_sqlite/toc.html'><a href='http://www.jus.uio.no/sisu/sisu_sqlite/toc.html'>http://www.jus.uio.no/sisu/sisu_sqlite/toc.html</a>
</a>
&gt; </dt>
<dd></dd>

<dt>pdf: &lt;<a href='http://www.jus.uio.no/sisu/sisu_sqlite/portrait.pdf'><a href='http://www.jus.uio.no/sisu/sisu_sqlite/portrait.pdf'>http://www.jus.uio.no/sisu/sisu_sqlite/portrait.pdf</a>
</a>
&gt;
</dt>
<dd></dd>

<dt>pdf: &lt;<a href='http://www.jus.uio.no/sisu/sisu_sqlite/landscape.pdf'><a href='http://www.jus.uio.no/sisu/sisu_sqlite/landscape.pdf'>http://www.jus.uio.no/sisu/sisu_sqlite/landscape.pdf</a>
</a>
&gt; </dt>
<dd>  </dd>

<dt>at: &lt;<a href='http://www.jus.uio.no/sisu'><a href='http://www.jus.uio.no/sisu'>http://www.jus.uio.no/sisu</a>
</a>
&gt;
</dt>
<dd></dd>

<dt>* Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25) </dt>
<dd></dd>

<dt>* Ruby version: ruby
1.8.6 (2007-06-07 patchlevel 36) [i486-linux] </dt>
<dd></dd>

<dt>* Last Generated on: Sat Sep 29
17:05:39 +0100 2007 </dt>
<dd></dd>

<dt>* SiSU <a href='http://www.jus.uio.no/sisu'>http://www.jus.uio.no/sisu</a>
 </dt>
<dd></dd>
</dl>
<p>

<hr><p>
<a name='toc'><b>Table of Contents</b></a><p>
<ul>
<li><a name='toc0' href='#sect0'>Name</a></li>
<li><a name='toc1' href='#sect1'>Synopsis</a></li>
</ul>
</body>
</html>