dwh 0.1.0 → 0.1.1
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 +5 -4
- data/Rakefile +1 -1
- data/docs/DWH/Adapters/Adapter.html +33 -27
- data/docs/DWH/Adapters/Athena.html +25 -21
- data/docs/DWH/Adapters/Boolean.html +1 -1
- data/docs/DWH/Adapters/Druid.html +18 -12
- data/docs/DWH/Adapters/DuckDb.html +29 -27
- data/docs/DWH/Adapters/MySql.html +25 -19
- data/docs/DWH/Adapters/OpenAuthorizable/ClassMethods.html +3 -6
- data/docs/DWH/Adapters/OpenAuthorizable.html +5 -10
- data/docs/DWH/Adapters/Postgres.html +27 -23
- data/docs/DWH/Adapters/Snowflake.html +39 -24
- data/docs/DWH/Adapters/SqlServer.html +27 -25
- data/docs/DWH/Adapters/Trino.html +30 -30
- data/docs/DWH/Adapters.html +1 -1
- data/docs/DWH/AuthenticationError.html +1 -1
- data/docs/DWH/Behaviors.html +6 -11
- data/docs/DWH/Capabilities.html +10 -26
- data/docs/DWH/Column.html +7 -15
- data/docs/DWH/ConfigError.html +1 -1
- data/docs/DWH/ConnectionError.html +1 -1
- data/docs/DWH/DWHError.html +1 -1
- data/docs/DWH/ExecutionError.html +1 -1
- data/docs/DWH/Factory.html +1 -1
- data/docs/DWH/Functions/Arrays.html +8 -8
- data/docs/DWH/Functions/Dates.html +5 -7
- data/docs/DWH/Functions/ExtractDatePart.html +13 -25
- data/docs/DWH/Functions/Nulls.html +3 -3
- data/docs/DWH/Functions.html +6 -9
- data/docs/DWH/Logger.html +3 -5
- data/docs/DWH/OAuthError.html +1 -1
- data/docs/DWH/Settings.html +6 -9
- data/docs/DWH/StreamingStats.html +2 -3
- data/docs/DWH/Table.html +14 -26
- data/docs/DWH/TableStats.html +1 -1
- data/docs/DWH/TokenExpiredError.html +1 -1
- data/docs/DWH/UnsupportedCapability.html +1 -1
- data/docs/DWH.html +1 -1
- data/docs/_index.html +1 -1
- data/docs/file.README.html +43 -48
- data/docs/file.adapters.html +318 -343
- data/docs/file.creating-adapters.html +347 -357
- data/docs/file.getting-started.html +143 -151
- data/docs/file.usage.html +257 -278
- data/docs/index.html +43 -48
- data/docs/top-level-namespace.html +1 -1
- data/lib/dwh/adapters.rb +2 -2
- data/lib/dwh/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d0cb4848d96ff20f5b4c80e00cbfde5f1150e0e975cf55827f8466b9d4eaf49
|
4
|
+
data.tar.gz: ce79d54a93388718886c8ec7892e9da544c4ddc52333e1a765a742518552df69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e61d14edd0b8e5818eb2eb3fe5ec25adf69a49279c9fd8b8db0ddb271f746de30573d97d90a6fe3bb9acf350f2ad80a72f076a19bd72a1270d9418aee6eca320
|
7
|
+
data.tar.gz: a53cc7c72c222b579777e7796bbdefeada81ac77a8bf12d5ab46be73e2d76b7721deba91deb2019597013a1f1a46173a7406d6d95d1f8d11eb53f62e7ba19b26
|
data/README.md
CHANGED
@@ -84,10 +84,11 @@ Standardized API across adapters:
|
|
84
84
|
|
85
85
|
## Tutorials and Guides
|
86
86
|
|
87
|
-
- [Getting Started](/
|
88
|
-
- [Adapter Configuration](/
|
89
|
-
- [Creating an Adapter](/
|
90
|
-
- [
|
87
|
+
- [Getting Started](https://strata.site/dwh/file.getting-started.html)
|
88
|
+
- [Adapter Configuration](https://strata.site/dwh/file.adapters.html)
|
89
|
+
- [Creating an Adapter](https://strata.site/dwh/file.creating-adapters.html)
|
90
|
+
- [Advanced Usage](https://strata.site/dwh/file.usage.html)
|
91
|
+
- [API](https://strata.site/dwh/DWH.html)
|
91
92
|
|
92
93
|
## Testing
|
93
94
|
|
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ YARD::Rake::YardocTask.new(:doc) do |t|
|
|
11
11
|
t.options = [
|
12
12
|
'--output-dir', 'docs',
|
13
13
|
'--markup', 'markdown',
|
14
|
-
'--markup-provider', '
|
14
|
+
'--markup-provider', 'redcarpet',
|
15
15
|
'--charset', 'utf-8',
|
16
16
|
'--verbose', '--debug',
|
17
17
|
'--files', 'docs/guides/*.md'
|
@@ -117,12 +117,12 @@
|
|
117
117
|
and implement these core required methods:</p>
|
118
118
|
|
119
119
|
<ul>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
120
|
+
<li><span class='object_link'><a href="#stats-instance_method" title="DWH::Adapters::Adapter#stats (method)">#stats</a></span> - get table statistics</li>
|
121
|
+
<li><span class='object_link'><a href="#tables-instance_method" title="DWH::Adapters::Adapter#tables (method)">#tables</a></span> - list tables</li>
|
122
|
+
<li><span class='object_link'><a href="#metadata-instance_method" title="DWH::Adapters::Adapter#metadata (method)">#metadata</a></span> - get metadata for a specific table</li>
|
123
|
+
<li><span class='object_link'><a href="#execute-instance_method" title="DWH::Adapters::Adapter#execute (method)">#execute</a></span> - run query and return result</li>
|
124
|
+
<li><span class='object_link'><a href="#execute_stream-instance_method" title="DWH::Adapters::Adapter#execute_stream (method)">#execute_stream</a></span> - run query and stream results to provided IO</li>
|
125
|
+
<li><span class='object_link'><a href="#stream-instance_method" title="DWH::Adapters::Adapter#stream (method)">#stream</a></span> - run query and yeild streaming results</li>
|
126
126
|
</ul>
|
127
127
|
</div>
|
128
128
|
</div>
|
@@ -136,7 +136,7 @@ file in a relative directory like so: <em>settings/my_adapter.yml</em>. Or, you
|
|
136
136
|
an exact settings file location at the class level:</p>
|
137
137
|
|
138
138
|
<p>class MyAdapter < DWH::Adapters::Adapter
|
139
|
-
settings_file_path
|
139
|
+
settings_file_path "my_dir/my_settings.yml"
|
140
140
|
end</p>
|
141
141
|
|
142
142
|
|
@@ -1700,13 +1700,19 @@ connection object or self</p>
|
|
1700
1700
|
|
1701
1701
|
|
1702
1702
|
—
|
1703
|
-
<div class='inline'><p>return format type
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1703
|
+
<div class='inline'><p>return format type</p>
|
1704
|
+
|
1705
|
+
<ul>
|
1706
|
+
<li>array returns array of array</li>
|
1707
|
+
<li>object returns array of Hashes</li>
|
1708
|
+
<li>csv returns as csv</li>
|
1709
|
+
<li>native returns the native result from any clients used
|
1710
|
+
|
1711
|
+
<ul>
|
1712
|
+
<li>For example: Postgres using pg client will return PG::Result</li>
|
1713
|
+
<li>Http clients will returns the HTTP response object</li>
|
1714
|
+
</ul></li>
|
1715
|
+
</ul>
|
1710
1716
|
</div>
|
1711
1717
|
|
1712
1718
|
</li>
|
@@ -2044,9 +2050,9 @@ from the config to the executor.</p>
|
|
2044
2050
|
Pass in optional catalog and schema info.</p>
|
2045
2051
|
|
2046
2052
|
<p>Example:
|
2047
|
-
metadata(
|
2048
|
-
metadata(
|
2049
|
-
metadata(
|
2053
|
+
metadata("public.big_table")
|
2054
|
+
metadata("big_table")
|
2055
|
+
metadata("big_table",schema: "public")</p>
|
2050
2056
|
|
2051
2057
|
|
2052
2058
|
</div>
|
@@ -2066,7 +2072,7 @@ Pass in optional catalog and schema info.</p>
|
|
2066
2072
|
|
2067
2073
|
—
|
2068
2074
|
<div class='inline'><ul>
|
2069
|
-
|
2075
|
+
<li>table name</li>
|
2070
2076
|
</ul>
|
2071
2077
|
</div>
|
2072
2078
|
|
@@ -2105,7 +2111,7 @@ Pass in optional catalog and schema info.</p>
|
|
2105
2111
|
</span>
|
2106
2112
|
|
2107
2113
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
2108
|
-
will be ignored if the adapter doesn
|
2114
|
+
will be ignored if the adapter doesn't support</p>
|
2109
2115
|
</div>
|
2110
2116
|
|
2111
2117
|
</li>
|
@@ -2118,7 +2124,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
2118
2124
|
</span>
|
2119
2125
|
|
2120
2126
|
— <div class='inline'><p>optional schema to scope to.
|
2121
|
-
will be ignored if the adapter doesn
|
2127
|
+
will be ignored if the adapter doesn't support</p>
|
2122
2128
|
</div>
|
2123
2129
|
|
2124
2130
|
</li>
|
@@ -2330,7 +2336,7 @@ date_start, and date_end.</p>
|
|
2330
2336
|
</span>
|
2331
2337
|
|
2332
2338
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
2333
|
-
will be ignored if the adapter doesn
|
2339
|
+
will be ignored if the adapter doesn't support</p>
|
2334
2340
|
</div>
|
2335
2341
|
|
2336
2342
|
</li>
|
@@ -2343,7 +2349,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
2343
2349
|
</span>
|
2344
2350
|
|
2345
2351
|
— <div class='inline'><p>optional schema to scope to.
|
2346
|
-
will be ignored if the adapter doesn
|
2352
|
+
will be ignored if the adapter doesn't support</p>
|
2347
2353
|
</div>
|
2348
2354
|
|
2349
2355
|
</li>
|
@@ -2543,7 +2549,7 @@ might vary depending on the target db and settings</p>
|
|
2543
2549
|
</span>
|
2544
2550
|
|
2545
2551
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
2546
|
-
will be ignored if the adapter doesn
|
2552
|
+
will be ignored if the adapter doesn't support</p>
|
2547
2553
|
</div>
|
2548
2554
|
|
2549
2555
|
</li>
|
@@ -2556,7 +2562,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
2556
2562
|
</span>
|
2557
2563
|
|
2558
2564
|
— <div class='inline'><p>optional schema to scope to.
|
2559
|
-
will be ignored if the adapter doesn
|
2565
|
+
will be ignored if the adapter doesn't support</p>
|
2560
2566
|
</div>
|
2561
2567
|
|
2562
2568
|
</li>
|
@@ -2652,7 +2658,7 @@ config only specified here.</p>
|
|
2652
2658
|
</span>
|
2653
2659
|
|
2654
2660
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
2655
|
-
will be ignored if the adapter doesn
|
2661
|
+
will be ignored if the adapter doesn't support</p>
|
2656
2662
|
</div>
|
2657
2663
|
|
2658
2664
|
</li>
|
@@ -2665,7 +2671,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
2665
2671
|
</span>
|
2666
2672
|
|
2667
2673
|
— <div class='inline'><p>optional schema to scope to.
|
2668
|
-
will be ignored if the adapter doesn
|
2674
|
+
will be ignored if the adapter doesn't support</p>
|
2669
2675
|
</div>
|
2670
2676
|
|
2671
2677
|
</li>
|
@@ -3043,7 +3049,7 @@ will just return the block.call</p>
|
|
3043
3049
|
</div>
|
3044
3050
|
|
3045
3051
|
<div id="footer">
|
3046
|
-
Generated on
|
3052
|
+
Generated on Mon Aug 25 10:59:28 2025 by
|
3047
3053
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
3048
3054
|
0.9.37 (ruby-3.4.4).
|
3049
3055
|
</div>
|
@@ -389,8 +389,7 @@ is passed in as options hash or argument list.</p>
|
|
389
389
|
|
390
390
|
|
391
391
|
|
392
|
-
<span class="summary_desc"><div class='inline'>
|
393
|
-
</div></span>
|
392
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
394
393
|
|
395
394
|
</li>
|
396
395
|
|
@@ -654,13 +653,19 @@ connection object or self</p>
|
|
654
653
|
|
655
654
|
|
656
655
|
—
|
657
|
-
<div class='inline'><p>return format type
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
656
|
+
<div class='inline'><p>return format type</p>
|
657
|
+
|
658
|
+
<ul>
|
659
|
+
<li>array returns array of array</li>
|
660
|
+
<li>object returns array of Hashes</li>
|
661
|
+
<li>csv returns as csv</li>
|
662
|
+
<li>native returns the native result from any clients used
|
663
|
+
|
664
|
+
<ul>
|
665
|
+
<li>For example: Postgres using pg client will return PG::Result</li>
|
666
|
+
<li>Http clients will returns the HTTP response object</li>
|
667
|
+
</ul></li>
|
668
|
+
</ul>
|
664
669
|
</div>
|
665
670
|
|
666
671
|
</li>
|
@@ -936,9 +941,9 @@ to the provided IO object.</p>
|
|
936
941
|
Pass in optional catalog and schema info.</p>
|
937
942
|
|
938
943
|
<p>Example:
|
939
|
-
metadata(
|
940
|
-
metadata(
|
941
|
-
metadata(
|
944
|
+
metadata("public.big_table")
|
945
|
+
metadata("big_table")
|
946
|
+
metadata("big_table",schema: "public")</p>
|
942
947
|
|
943
948
|
|
944
949
|
</div>
|
@@ -958,7 +963,7 @@ Pass in optional catalog and schema info.</p>
|
|
958
963
|
|
959
964
|
—
|
960
965
|
<div class='inline'><ul>
|
961
|
-
|
966
|
+
<li>table name</li>
|
962
967
|
</ul>
|
963
968
|
</div>
|
964
969
|
|
@@ -997,7 +1002,7 @@ Pass in optional catalog and schema info.</p>
|
|
997
1002
|
</span>
|
998
1003
|
|
999
1004
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
1000
|
-
will be ignored if the adapter doesn
|
1005
|
+
will be ignored if the adapter doesn't support</p>
|
1001
1006
|
</div>
|
1002
1007
|
|
1003
1008
|
</li>
|
@@ -1010,7 +1015,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
1010
1015
|
</span>
|
1011
1016
|
|
1012
1017
|
— <div class='inline'><p>optional schema to scope to.
|
1013
|
-
will be ignored if the adapter doesn
|
1018
|
+
will be ignored if the adapter doesn't support</p>
|
1014
1019
|
</div>
|
1015
1020
|
|
1016
1021
|
</li>
|
@@ -1209,7 +1214,7 @@ date_start, and date_end.</p>
|
|
1209
1214
|
</span>
|
1210
1215
|
|
1211
1216
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
1212
|
-
will be ignored if the adapter doesn
|
1217
|
+
will be ignored if the adapter doesn't support</p>
|
1213
1218
|
</div>
|
1214
1219
|
|
1215
1220
|
</li>
|
@@ -1222,7 +1227,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
1222
1227
|
</span>
|
1223
1228
|
|
1224
1229
|
— <div class='inline'><p>optional schema to scope to.
|
1225
|
-
will be ignored if the adapter doesn
|
1230
|
+
will be ignored if the adapter doesn't support</p>
|
1226
1231
|
</div>
|
1227
1232
|
|
1228
1233
|
</li>
|
@@ -1472,7 +1477,7 @@ config only specified here.</p>
|
|
1472
1477
|
</span>
|
1473
1478
|
|
1474
1479
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
1475
|
-
will be ignored if the adapter doesn
|
1480
|
+
will be ignored if the adapter doesn't support</p>
|
1476
1481
|
</div>
|
1477
1482
|
|
1478
1483
|
</li>
|
@@ -1485,7 +1490,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
1485
1490
|
</span>
|
1486
1491
|
|
1487
1492
|
— <div class='inline'><p>optional schema to scope to.
|
1488
|
-
will be ignored if the adapter doesn
|
1493
|
+
will be ignored if the adapter doesn't support</p>
|
1489
1494
|
</div>
|
1490
1495
|
|
1491
1496
|
</li>
|
@@ -1643,7 +1648,6 @@ connection object or self</p>
|
|
1643
1648
|
<div class="discussion">
|
1644
1649
|
|
1645
1650
|
|
1646
|
-
|
1647
1651
|
</div>
|
1648
1652
|
</div>
|
1649
1653
|
<div class="tags">
|
@@ -1694,7 +1698,7 @@ connection object or self</p>
|
|
1694
1698
|
</div>
|
1695
1699
|
|
1696
1700
|
<div id="footer">
|
1697
|
-
Generated on
|
1701
|
+
Generated on Mon Aug 25 10:59:28 2025 by
|
1698
1702
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1699
1703
|
0.9.37 (ruby-3.4.4).
|
1700
1704
|
</div>
|
@@ -111,7 +111,7 @@
|
|
111
111
|
</div>
|
112
112
|
|
113
113
|
<div id="footer">
|
114
|
-
Generated on
|
114
|
+
Generated on Mon Aug 25 10:59:28 2025 by
|
115
115
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
116
116
|
0.9.37 (ruby-3.4.4).
|
117
117
|
</div>
|
@@ -760,13 +760,19 @@ as valid ISO timestamps</p>
|
|
760
760
|
|
761
761
|
|
762
762
|
—
|
763
|
-
<div class='inline'><p>return format type
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
763
|
+
<div class='inline'><p>return format type</p>
|
764
|
+
|
765
|
+
<ul>
|
766
|
+
<li>array returns array of array</li>
|
767
|
+
<li>object returns array of Hashes</li>
|
768
|
+
<li>csv returns as csv</li>
|
769
|
+
<li>native returns the native result from any clients used
|
770
|
+
|
771
|
+
<ul>
|
772
|
+
<li>For example: Postgres using pg client will return PG::Result</li>
|
773
|
+
<li>Http clients will returns the HTTP response object</li>
|
774
|
+
</ul></li>
|
775
|
+
</ul>
|
770
776
|
</div>
|
771
777
|
|
772
778
|
</li>
|
@@ -1082,9 +1088,9 @@ to the provided IO object.</p>
|
|
1082
1088
|
Pass in optional catalog and schema info.</p>
|
1083
1089
|
|
1084
1090
|
<p>Example:
|
1085
|
-
metadata(
|
1086
|
-
metadata(
|
1087
|
-
metadata(
|
1091
|
+
metadata("public.big_table")
|
1092
|
+
metadata("big_table")
|
1093
|
+
metadata("big_table",schema: "public")</p>
|
1088
1094
|
|
1089
1095
|
|
1090
1096
|
</div>
|
@@ -1104,7 +1110,7 @@ Pass in optional catalog and schema info.</p>
|
|
1104
1110
|
|
1105
1111
|
—
|
1106
1112
|
<div class='inline'><ul>
|
1107
|
-
|
1113
|
+
<li>table name</li>
|
1108
1114
|
</ul>
|
1109
1115
|
</div>
|
1110
1116
|
|
@@ -1616,7 +1622,7 @@ connection object or self</p>
|
|
1616
1622
|
</div>
|
1617
1623
|
|
1618
1624
|
<div id="footer">
|
1619
|
-
Generated on
|
1625
|
+
Generated on Mon Aug 25 10:59:28 2025 by
|
1620
1626
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1621
1627
|
0.9.37 (ruby-3.4.4).
|
1622
1628
|
</div>
|
@@ -189,7 +189,7 @@ is passed in as options hash or argument list.</p>
|
|
189
189
|
|
190
190
|
|
191
191
|
|
192
|
-
<span class="summary_desc"><div class='inline'><p>DuckDB is an in process database so we don
|
192
|
+
<span class="summary_desc"><div class='inline'><p>DuckDB is an in process database so we don't want to open multiple instances of the same db in memory.</p>
|
193
193
|
</div></span>
|
194
194
|
|
195
195
|
</li>
|
@@ -212,8 +212,7 @@ is passed in as options hash or argument list.</p>
|
|
212
212
|
|
213
213
|
|
214
214
|
|
215
|
-
<span class="summary_desc"><div class='inline'>
|
216
|
-
</div></span>
|
215
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
217
216
|
|
218
217
|
</li>
|
219
218
|
|
@@ -235,8 +234,7 @@ is passed in as options hash or argument list.</p>
|
|
235
234
|
|
236
235
|
|
237
236
|
|
238
|
-
<span class="summary_desc"><div class='inline'>
|
239
|
-
</div></span>
|
237
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
240
238
|
|
241
239
|
</li>
|
242
240
|
|
@@ -497,8 +495,7 @@ is passed in as options hash or argument list.</p>
|
|
497
495
|
|
498
496
|
|
499
497
|
|
500
|
-
<span class="summary_desc"><div class='inline'>
|
501
|
-
</div></span>
|
498
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
502
499
|
|
503
500
|
</li>
|
504
501
|
|
@@ -639,7 +636,7 @@ is passed in as options hash or argument list.</p>
|
|
639
636
|
|
640
637
|
</h3><div class="docstring">
|
641
638
|
<div class="discussion">
|
642
|
-
<p>DuckDB is an in process database so we don
|
639
|
+
<p>DuckDB is an in process database so we don't want to
|
643
640
|
open multiple instances of the same db in memory. Rather,
|
644
641
|
we open one instance but many connections. Use this
|
645
642
|
method to close them all.</p>
|
@@ -915,13 +912,19 @@ connection object or self</p>
|
|
915
912
|
|
916
913
|
|
917
914
|
—
|
918
|
-
<div class='inline'><p>return format type
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
915
|
+
<div class='inline'><p>return format type</p>
|
916
|
+
|
917
|
+
<ul>
|
918
|
+
<li>array returns array of array</li>
|
919
|
+
<li>object returns array of Hashes</li>
|
920
|
+
<li>csv returns as csv</li>
|
921
|
+
<li>native returns the native result from any clients used
|
922
|
+
|
923
|
+
<ul>
|
924
|
+
<li>For example: Postgres using pg client will return PG::Result</li>
|
925
|
+
<li>Http clients will returns the HTTP response object</li>
|
926
|
+
</ul></li>
|
927
|
+
</ul>
|
925
928
|
</div>
|
926
929
|
|
927
930
|
</li>
|
@@ -1207,9 +1210,9 @@ to the provided IO object.</p>
|
|
1207
1210
|
Pass in optional catalog and schema info.</p>
|
1208
1211
|
|
1209
1212
|
<p>Example:
|
1210
|
-
metadata(
|
1211
|
-
metadata(
|
1212
|
-
metadata(
|
1213
|
+
metadata("public.big_table")
|
1214
|
+
metadata("big_table")
|
1215
|
+
metadata("big_table",schema: "public")</p>
|
1213
1216
|
|
1214
1217
|
|
1215
1218
|
</div>
|
@@ -1229,7 +1232,7 @@ Pass in optional catalog and schema info.</p>
|
|
1229
1232
|
|
1230
1233
|
—
|
1231
1234
|
<div class='inline'><ul>
|
1232
|
-
|
1235
|
+
<li>table name</li>
|
1233
1236
|
</ul>
|
1234
1237
|
</div>
|
1235
1238
|
|
@@ -1268,7 +1271,7 @@ Pass in optional catalog and schema info.</p>
|
|
1268
1271
|
</span>
|
1269
1272
|
|
1270
1273
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
1271
|
-
will be ignored if the adapter doesn
|
1274
|
+
will be ignored if the adapter doesn't support</p>
|
1272
1275
|
</div>
|
1273
1276
|
|
1274
1277
|
</li>
|
@@ -1281,7 +1284,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
1281
1284
|
</span>
|
1282
1285
|
|
1283
1286
|
— <div class='inline'><p>optional schema to scope to.
|
1284
|
-
will be ignored if the adapter doesn
|
1287
|
+
will be ignored if the adapter doesn't support</p>
|
1285
1288
|
</div>
|
1286
1289
|
|
1287
1290
|
</li>
|
@@ -1521,7 +1524,7 @@ date_start, and date_end.</p>
|
|
1521
1524
|
</span>
|
1522
1525
|
|
1523
1526
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
1524
|
-
will be ignored if the adapter doesn
|
1527
|
+
will be ignored if the adapter doesn't support</p>
|
1525
1528
|
</div>
|
1526
1529
|
|
1527
1530
|
</li>
|
@@ -1534,7 +1537,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
1534
1537
|
</span>
|
1535
1538
|
|
1536
1539
|
— <div class='inline'><p>optional schema to scope to.
|
1537
|
-
will be ignored if the adapter doesn
|
1540
|
+
will be ignored if the adapter doesn't support</p>
|
1538
1541
|
</div>
|
1539
1542
|
|
1540
1543
|
</li>
|
@@ -1774,7 +1777,7 @@ config only specified here.</p>
|
|
1774
1777
|
</span>
|
1775
1778
|
|
1776
1779
|
— <div class='inline'><p>optional catalog or equivalent name space.
|
1777
|
-
will be ignored if the adapter doesn
|
1780
|
+
will be ignored if the adapter doesn't support</p>
|
1778
1781
|
</div>
|
1779
1782
|
|
1780
1783
|
</li>
|
@@ -1787,7 +1790,7 @@ will be ignored if the adapter doesn’t support</p>
|
|
1787
1790
|
</span>
|
1788
1791
|
|
1789
1792
|
— <div class='inline'><p>optional schema to scope to.
|
1790
|
-
will be ignored if the adapter doesn
|
1793
|
+
will be ignored if the adapter doesn't support</p>
|
1791
1794
|
</div>
|
1792
1795
|
|
1793
1796
|
</li>
|
@@ -1951,7 +1954,6 @@ connection object or self</p>
|
|
1951
1954
|
<div class="discussion">
|
1952
1955
|
|
1953
1956
|
|
1954
|
-
|
1955
1957
|
</div>
|
1956
1958
|
</div>
|
1957
1959
|
<div class="tags">
|
@@ -2002,7 +2004,7 @@ connection object or self</p>
|
|
2002
2004
|
</div>
|
2003
2005
|
|
2004
2006
|
<div id="footer">
|
2005
|
-
Generated on
|
2007
|
+
Generated on Mon Aug 25 10:59:28 2025 by
|
2006
2008
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2007
2009
|
0.9.37 (ruby-3.4.4).
|
2008
2010
|
</div>
|