sequel-jdbc-pervasive-adapter 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc
CHANGED
@@ -1,23 +1,3 @@
|
|
1
|
-
= sequel-jdbc-
|
1
|
+
= sequel-jdbc-pervasive-adapter
|
2
2
|
|
3
|
-
A sequel adapter for working with
|
4
|
-
adapter. It will not work in any other Ruby interpreter.
|
5
|
-
|
6
|
-
== HXTT Driver
|
7
|
-
|
8
|
-
The jar library containing the HXTT driver is not supplied but you can obtain a trial version or purchase it at http://www.hxtt.com
|
9
|
-
|
10
|
-
== Note on Patches/Pull Requests
|
11
|
-
|
12
|
-
* Fork the project.
|
13
|
-
* Make your feature addition or bug fix.
|
14
|
-
* Add tests for it. This is important so I don't break it in a
|
15
|
-
future version unintentionally.
|
16
|
-
* Commit, do not mess with rakefile, version, or history.
|
17
|
-
(if you want to have your own version, that is fine but
|
18
|
-
bump version in a commit by itself I can ignore when I pull)
|
19
|
-
* Send me a pull request. Bonus points for topic branches.
|
20
|
-
|
21
|
-
== Copyright
|
22
|
-
|
23
|
-
Copyright (c) 2010 Colin Casey. See LICENSE for details.
|
3
|
+
A sequel adapter for working with pervasive databases based on colincasey's sequel-jdbc-hxtt-adapter
|
@@ -137,7 +137,11 @@ module Sequel
|
|
137
137
|
end
|
138
138
|
|
139
139
|
def select_limit_sql(sql)
|
140
|
-
|
140
|
+
if @opts[:limit]
|
141
|
+
sql << "SELECT TOP #{@opts[:limit]}"
|
142
|
+
else
|
143
|
+
sql << "SELECT"
|
144
|
+
end
|
141
145
|
end
|
142
146
|
|
143
147
|
def supports_is_true?
|