dohruby 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/doh/mysql/hash_util.rb +7 -0
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/doh/mysql/hash_util.rb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
require 'doh/mysql/handle'
|
2
|
+
require 'doh/mysql/connector_instance'
|
3
|
+
|
1
4
|
module DohDb
|
2
5
|
|
3
6
|
class Handle
|
@@ -38,6 +41,10 @@ def self.insert_hash(hash, table)
|
|
38
41
|
request_handle.insert_hash(hash, table)
|
39
42
|
end
|
40
43
|
|
44
|
+
def self.replace_hash(hash, table)
|
45
|
+
request_handle.replace_hash(hash, table)
|
46
|
+
end
|
47
|
+
|
41
48
|
def self.update_hash(hash, table, primary_key_value, primary_key_name)
|
42
49
|
request_handle.update_hash(hash, table, primary_key_value, primary_key_name)
|
43
50
|
end
|