tiny_tds 0.9.5.rc.2-x64-mingw32 → 0.9.5.rc.3-x64-mingw32
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da962966fc0860dade9399eb3991f14ef1cd276d
|
4
|
+
data.tar.gz: 5dfe570373de8c8d23944909a958c5a249f86d0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 578f7a4ee4de407795d03358314fc1c7aba18cf97387dc07b4a0a1fda66363c8fe94a31005367fe1266ea06316b11b70a41d1191745d6800516287f445103dd9
|
7
|
+
data.tar.gz: b8ede273a4b8b3cf26b5cec9c847f8f83ba0aa30ad5886107fca9f6159275f7e3f2235447764d3b4f729ebeee4c3006ed13727a01af60524c06ebad02a0f7959
|
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: x64-mingw32
|
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
|