transactd 3.6.1-x64-mswin64-100 → 3.7.0-x64-mswin64-100
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/2.0/transactd.so +0 -0
- data/bin/2.1/transactd.so +0 -0
- data/bin/2.2/transactd.so +0 -0
- data/bin/2.3/transactd.so +0 -0
- data/bin/common/{tdclc_64_3_6.dll → tdclc_64_3_7.dll} +0 -0
- data/bin/common/tdclcpp_vc100_64mr_3_7.dll +0 -0
- data/source/bzs/test/tdclrb/transactd_v3_spec.rb +40 -0
- metadata +4 -4
- data/bin/common/tdclcpp_vc100_64mr_3_6.dll +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5995b541198a6dad41e88e09c28e9fe00145b3fb
|
4
|
+
data.tar.gz: 0794e060a177e76652744bc28e8d949e8d56225c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 943b6099182b213290dea40b9ecb4a27f4835f713bbada5dae515414451c020f6142725dfe2a3379e7e2283dcb7f06ce9a8766ead77652fe5dd26b3e51ac9c3a
|
7
|
+
data.tar.gz: 0c85a568d0d1c1cb59361ce296fca71b3162c7fe846b21e5f74658d6dfb4ca5c907a30ed4a0b3c1db729fdc504c4e288b6a75da0b5924cc36fd40bf5bc501d5d
|
data/bin/2.0/transactd.so
CHANGED
Binary file
|
data/bin/2.1/transactd.so
CHANGED
Binary file
|
data/bin/2.2/transactd.so
CHANGED
Binary file
|
data/bin/2.3/transactd.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -2114,4 +2114,44 @@ describe Transactd, 'V3Features' do
|
|
2114
2114
|
tb.close
|
2115
2115
|
db.close
|
2116
2116
|
end
|
2117
|
+
|
2118
|
+
it 'recordset join' do
|
2119
|
+
db = Transactd::Database.new()
|
2120
|
+
db.open(URL, Transactd::TYPE_SCHEMA_BDF, Transactd::TD_OPEN_NORMAL)
|
2121
|
+
at = Transactd::ActiveTable.new(db, "user")
|
2122
|
+
ate = Transactd::ActiveTable.new(db, "extention")
|
2123
|
+
|
2124
|
+
q = Transactd::Query.new()
|
2125
|
+
q.where("id", ">=", 1).and_("id", "<=", 10)
|
2126
|
+
rs = at.index(0).keyValue(1).read(q)
|
2127
|
+
expect(rs.size).to eq 10
|
2128
|
+
|
2129
|
+
q.reset().where("id", ">=", 1).and_("id", "<=", 5)
|
2130
|
+
rse = ate.index(0).keyValue(1).read(q)
|
2131
|
+
expect(rse.size).to eq 5
|
2132
|
+
|
2133
|
+
rs1 = rs.clone();
|
2134
|
+
rq = Transactd::RecordsetQuery.new()
|
2135
|
+
rq.when('id', '=', 'id')
|
2136
|
+
|
2137
|
+
#Join
|
2138
|
+
rs1.join(rse, rq)
|
2139
|
+
expect(rs1.size).to eq 5
|
2140
|
+
|
2141
|
+
#outerJoin
|
2142
|
+
rs.outerJoin(rse, rq)
|
2143
|
+
expect(rs.size).to eq 10
|
2144
|
+
|
2145
|
+
#appendField
|
2146
|
+
n = rs.fieldDefs().size
|
2147
|
+
fd = Transactd::Fielddef.new()
|
2148
|
+
fd.name = 'abc'
|
2149
|
+
fd.len = 2
|
2150
|
+
fd.type = Transactd::Ft_integer
|
2151
|
+
rs.appendField(fd)
|
2152
|
+
expect(rs.fieldDefs().size).to eq n+1
|
2153
|
+
expect(rs.fieldDefs()[n].name).to eq 'abc'
|
2154
|
+
db.close
|
2155
|
+
end
|
2156
|
+
|
2117
2157
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transactd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.7.0
|
5
5
|
platform: x64-mswin64-100
|
6
6
|
authors:
|
7
7
|
- BizStation Corp.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Transactd client for ruby gem
|
14
14
|
email: transactd@bizstation.jp
|
@@ -22,8 +22,8 @@ files:
|
|
22
22
|
- bin/2.2/transactd.so
|
23
23
|
- bin/2.3/transactd.so
|
24
24
|
- build/tdclrb/bldgem/extconf.rb
|
25
|
-
- bin/common/
|
26
|
-
- bin/common/
|
25
|
+
- bin/common/tdclcpp_vc100_64mr_3_7.dll
|
26
|
+
- bin/common/tdclc_64_3_7.dll
|
27
27
|
- build/tdclrb/gem/detect.rb
|
28
28
|
- build/tdclrb/gem/helper.rb
|
29
29
|
- build/tdclrb/gem/INSTALLLOG.win32
|
Binary file
|