-
Notifications
You must be signed in to change notification settings - Fork 1
/
fbclient.html
151 lines (144 loc) · 5.15 KB
/
fbclient.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title> fbclient - firebird database client </title>
<script src="jquery.js"></script>
<script src="jquery-cookie.js"></script>
<script src="jquery-tablesorter.js"></script>
<script src="strftime.js"></script>
<script src="mustache.js"></script>
<script src="config.js"></script>
<script src="main.js"></script>
<link rel="stylesheet" type="text/css" href="templates/reset.css" />
<link rel="stylesheet" type="text/css" href="templates/hack.css" />
<link rel="stylesheet" type="text/css" id="lights_css" />
<script>
var DOCNAME = 'fbclient'
var PROJECT = 'fbclient'
//set the lights before rendering starts
set_lights()
</script>
</head>
<body>
<header>
<div class="container">
<div class="btn-container btn-lights-container">
<a href="#" class="btn btn-lights" id="lights">lights</a>
</div>
<div class="btn-container btn-home-container">
<a href="/" class="btn btn-home">luapower</a>
</div>
<table id="header_table">
<tr>
<td style="vertical-align: middle;" width="100%">
<h1> fbclient </h1>
<h2> firebird database client </h2>
</td>
<td style="vertical-align: middle;" align="right" style="height: 150px">
<table><tr><td>
<div class="doc" id="package_info_container">
<div id="package_info"> </div>
<div id="commit_log"> </div>
</div>
<a href="https://github.com/luapower/fbclient" class="btn btn-rightside btn-github"><span class="icon"></span>View on GitHub</a>
</td></tr><tr><td>
<a href="https://github.com/luapower/fbclient/tarball/master" class="btn btn-rightside">Download as .tar.gz</a>
</td></tr><tr><td>
<a href="https://github.com/luapower/fbclient/zipball/master" class="btn btn-rightside">Download as .zip</a>
</td></tr></table>
</td>
</tr>
</table>
<div class="btn-container btn-discuss-container">
<a href="https://github.com/luapower/fbclient/issues/new" target="_blank"
class="btn btn-rightside btn-discuss"><span class="icon"></span>Discuss</a>
</div>
</div>
</header>
<div class="bg-container">
<div class="bg-center-container">
<div class="bg bg-fbclient" style="background-image: url('bg/fbclient.png');"></div>
</div>
</div>
<div class="under-header">
<div class="container">
<div id="toc_container" class="toc_container doc"></div>
<button id=tab1_button class="tab_button hidden">Documentation</button>
<button id=tab2_button class="tab_button hidden">Package Info</button>
<div id="tabs_cointainer">
<div id="tab1_container">
<section class="doc">
<span id="module_info"></span>
<h2 id="local-fb-requirefbclient"><code>local fb = require'fbclient'</code></h2>
<p>A complete ffi binding of the <a href="http://www.firebirdsql.org/">Firebird</a> client library.</p>
<h3 id="work-in-progress">Work in progress</h3>
<p>In the meantime, you can use the <a href="https://code.google.com/p/fbclient/">old fbclient</a> which is stable and complete.</p>
<h2 id="summary">Summary</h2>
<table>
<thead>
<tr class="header">
<th align="left"><strong>Connections</strong></th>
<th align="left"></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left"><code>fb.connect(db, [user], [pass], [charset], [port]) -> conn</code></td>
<td align="left">connect to a firebird server</td>
</tr>
<tr class="even">
<td align="left"><code>fb.connect(options_t) -> conn</code></td>
<td align="left">connect to a firebird server</td>
</tr>
<tr class="odd">
<td align="left"><code>conn:close()</code></td>
<td align="left">close the connection</td>
</tr>
</tbody>
</table>
<h2 id="firebird-plug">Firebird plug</h2>
<ul>
<li>MVCC concurrency</li>
<li>column-level character sets and collations</li>
<li>updatable views and triggers</li>
<li>selectable stored procedures</li>
<li>elegant procedural language</li>
<li>multi-database transactions</li>
<li>global temporary tables (GTEs)</li>
<li>common table expressions (CTEs)</li>
<li>asynchronous events</li>
<li>computed-by columns</li>
<li>check constraints and foreign key constraints</li>
<li>datatype domains</li>
<li>online backup and restore, remotely controlled</li>
<li>user-defined functions (UDFs)</li>
<li>full SQL-92 compliance</li>
<li>multi-process and multi-threading implementations</li>
<li>feature-full embedded edition</li>
<li>binaries for Windows, Linux and Mac</li>
<li>a real [IBExpert][IDE] (made by real programmers who don't have time to build a website)</li>
</ul>
<p>If you don't need all this, there's also <a href="mysql.html">bindings</a> for the most <em>popular</em> database in the world.</p>
</section>
</div>
<div id="tab2_container" class="doc"></div>
</div>
</div>
<div class="container">
<footer>
<div id="disqus_thread"></div>
<div class="faint">[email protected] | <a href="http://unlicense.org/">public domain</a></div>
</footer>
</div>
</div>
<script type="text/x-mustache" id=info_tab_template>
<h3>Modules</h3>
<ul>
{{#module_array}}
<li>{{name}}</li>
{{/module_array}}
</ul>
</script>
</body>
</html>