transactd 3.6.1-x86-mswin32-100 → 3.7.0-x86-mswin32-100

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b69ec7870761e10a0febdf72e7f442701f428fac
4
- data.tar.gz: ccc9b031b04fc87339a4fa836c8c97987c38a5f0
3
+ metadata.gz: 42c39abd51e10ea49a1a0eaa724a14e8cf594037
4
+ data.tar.gz: c7b5a53b1bfec9893fb9a71f77381fd6f7cfbac8
5
5
  SHA512:
6
- metadata.gz: 528564a9ce3d967db0c2c4ad9e1af6ac252af7852faf19f8983898d905f9c509a585a60f2d6546ccfb1c33f1256f9af3a4df92897ea12d9749eb442aef955582
7
- data.tar.gz: 7d55d7e2816c5a579d38cb763873090072fc28e6a350b9914d70a3ac6268fe98ab4774b54904e7d0184125c8f63fd2b25cef04794cd5b5409dbcf268f392a34e
6
+ metadata.gz: 413fdc36cfa129c7daccb902e0b9ff6d33f40b8a685c56d5e7d6a3266abf24eba75e09a780178d226ab51efb31d3a0d658a818e23a38fda53a71e1ed0772e500
7
+ data.tar.gz: 82b78b88a6ccc6354e6359ead6590c5d1b2f0f0682b1983614d2ec6d0d75670b7beda7ba851369b8578aeb31d133559cd5327e1286d7cd019254cb683990b6dc
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
@@ -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.6.1
4
+ version: 3.7.0
5
5
  platform: x86-mswin32-100
6
6
  authors:
7
7
  - BizStation Corp.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-11 00:00:00.000000000 Z
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/tdclcpp_vc100_32mr_3_6.dll
26
- - bin/common/tdclc_32_3_6.dll
25
+ - bin/common/tdclcpp_vc100_32mr_3_7.dll
26
+ - bin/common/tdclc_32_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