tiny_tds 0.9.5.rc.2 → 0.9.5.rc.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/VERSION +1 -1
- metadata +4 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1197aeb47fa60387a419f361511fcbf4b1363742
|
4
|
+
data.tar.gz: 0c9f56c82612f662acdc634bab521fd398c5a6ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82cc1b0101277ca87d2247d2d868422361fd7080a32bf339315a275b51a4f319d717f10318eaf56b0c9c4e6e83e40909115270ed61af695e8ef6177672617b7f
|
7
|
+
data.tar.gz: 93e717e90b7d8e15b138d449fac2ae0b675a0f02d1d0fc0a709e743dd5673c0d4b8e8214556bab297d97f2f938e2567a6ce1c505b1bb7b85ff952cae86102ba0
|
data/README.md
CHANGED
@@ -159,6 +159,16 @@ result = client.execute("SELECT * FROM [super_big_table]")
|
|
159
159
|
result.cancel
|
160
160
|
```
|
161
161
|
|
162
|
+
You can use results cancelation in conjunction with results lazy loading, no problem.
|
163
|
+
|
164
|
+
```ruby
|
165
|
+
result = client.execute("SELECT * FROM [super_big_table]")
|
166
|
+
result.each_with_index do |row, i|
|
167
|
+
break if row > 10
|
168
|
+
end
|
169
|
+
result.cancel
|
170
|
+
```
|
171
|
+
|
162
172
|
If the SQL executed by the client returns affected rows, you can easily find out how many.
|
163
173
|
|
164
174
|
```ruby
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.5.rc.
|
1
|
+
0.9.5.rc.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_tds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.5.rc.
|
4
|
+
version: 0.9.5.rc.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-02-
|
13
|
+
date: 2016-02-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mini_portile2
|
@@ -134,6 +134,7 @@ files:
|
|
134
134
|
- lib/tiny_tds/error.rb
|
135
135
|
- lib/tiny_tds/result.rb
|
136
136
|
- lib/tiny_tds/version.rb
|
137
|
+
- ports/archives/freetds-0.95.80.tar.bz2
|
137
138
|
- ports/patches/freetds/0.91.112/Makefile.in.diff
|
138
139
|
- ports/patches/freetds/0.91.112/dblib-30-char-username.diff
|
139
140
|
- ports/patches/freetds/0.95.80/0001-mingw_missing_inet_pton.diff
|
@@ -180,22 +181,4 @@ rubygems_version: 2.4.8
|
|
180
181
|
signing_key:
|
181
182
|
specification_version: 4
|
182
183
|
summary: TinyTDS - A modern, simple and fast FreeTDS library for Ruby using DB-Library.
|
183
|
-
test_files:
|
184
|
-
- test/appveyor/dbsetup.ps1
|
185
|
-
- test/appveyor/dbsetup.sql
|
186
|
-
- test/benchmark/query.rb
|
187
|
-
- test/benchmark/query_odbc.rb
|
188
|
-
- test/benchmark/query_tinytds.rb
|
189
|
-
- test/client_test.rb
|
190
|
-
- test/result_test.rb
|
191
|
-
- test/schema/1px.gif
|
192
|
-
- test/schema/sqlserver_2000.sql
|
193
|
-
- test/schema/sqlserver_2005.sql
|
194
|
-
- test/schema/sqlserver_2008.sql
|
195
|
-
- test/schema/sqlserver_2014.sql
|
196
|
-
- test/schema/sqlserver_azure.sql
|
197
|
-
- test/schema/sybase_ase.sql
|
198
|
-
- test/schema_test.rb
|
199
|
-
- test/test_helper.rb
|
200
|
-
- test/thread_test.rb
|
201
|
-
has_rdoc:
|
184
|
+
test_files: []
|