tiny_tds 0.9.5.rc.2-x86-mingw32 → 0.9.5.rc.3-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: d19c9225b96aaf0b24c54e05e7d77806566bb4e4
|
4
|
+
data.tar.gz: 66f227593ab8badf4902bc2eb69e2a2f843bf8b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1035ea65da100bbdecfdefde76c5f4c56f06f4b163c4868ce405b8438270c92499eeddd34a2a4e642d04e3b1586da7664d2a14021687d7bf40aad7a67d7e608a
|
7
|
+
data.tar.gz: 0a96dff631b5e02d7cda1084fb19c2aa0acaf58a6ff701d7b84d693880622d29ddc7b4d705ada80bc2a7ea9ff10af735cfca7f0ee5d1b86cc13a9d947b98e586
|
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: x86-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
|