multi_insert 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/multi_insert/query.rb +2 -0
- data/lib/multi_insert/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52e74caff0379cb38b08152605e7790afaa3404b
|
4
|
+
data.tar.gz: 975229de97721db74df8ed9a93a22d5c3ec894f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 217ab537834bc0d92c5fea4f8501ad0899032d8fda8ae4fcc852b9a7abe8842ee28317e4270a58ace5f2a4b3d42e7242ec8571f77206e60990984915263b501d
|
7
|
+
data.tar.gz: 77a0c4fdff6b65176f0db111251df3dfa575dd7088a812ee384c36999a249b87833e80be48b0c88b6c33af9aa3b05a1693059760626d82d2e172ba2feffc18db
|
data/lib/multi_insert/query.rb
CHANGED
@@ -11,11 +11,13 @@ module MultiInsert
|
|
11
11
|
def returning(columns)
|
12
12
|
@sql_returning = ::MultiInsert::QueryBuilder.returning(columns)
|
13
13
|
@returning_flat = false
|
14
|
+
self
|
14
15
|
end
|
15
16
|
|
16
17
|
def returning_id
|
17
18
|
@sql_returning = ::MultiInsert::QueryBuilder.returning([:id])
|
18
19
|
@returning_flat = true
|
20
|
+
self
|
19
21
|
end
|
20
22
|
|
21
23
|
def to_sql
|
data/lib/multi_insert/version.rb
CHANGED