Skip to content

Commit e07811a

Browse files
[create-pull-request] automated change
1 parent 112f6d1 commit e07811a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

tests/testthat/_snaps/filter-dm.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
88
i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
99
Output
10+
-- Table source ----------------------------------------------------------------
11+
src: mysql [@localhost:NA/test]
1012
-- Metadata --------------------------------------------------------------------
1113
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
1214
Columns: 20
@@ -24,6 +26,8 @@
2426
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
2527
i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
2628
Output
29+
-- Table source ----------------------------------------------------------------
30+
src: mysql [@localhost:NA/test]
2731
-- Metadata --------------------------------------------------------------------
2832
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
2933
Columns: 20
@@ -38,6 +42,8 @@
3842
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
3943
i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
4044
Output
45+
-- Table source ----------------------------------------------------------------
46+
src: mysql [@localhost:NA/test]
4147
-- Metadata --------------------------------------------------------------------
4248
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
4349
Columns: 20
@@ -50,6 +56,8 @@
5056
`dm_apply_filters()` was deprecated in dm 1.0.0.
5157
i Calling `dm_apply_filters()` after `dm_filter()` is no longer necessary.
5258
Output
59+
-- Table source ----------------------------------------------------------------
60+
src: mysql [@localhost:NA/test]
5361
-- Metadata --------------------------------------------------------------------
5462
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
5563
Columns: 20
@@ -62,25 +70,23 @@
6270
The `table` argument of `dm_filter()` is deprecated as of dm 1.0.0.
6371
i `dm_filter()` now takes named filter expressions, the names correspond to the tables to be filtered. You no longer need to call `dm_apply_filters()` to materialize the filters.
6472
Output
65-
# A tibble: 3 x 4
6673
c d e e1
6774
<chr> <int> <chr> <int>
68-
1 worm 5 G 7
75+
1 cat 7 F 6
6976
2 dog 6 E 5
70-
3 cat 7 F 6
77+
3 worm 5 G 7
7178
Code
7279
dm_filter(dm_for_filter(), tf_1 = a > 4) %>% dm_apply_filters_to_tbl(tf_2)
7380
Condition
7481
Warning:
7582
`dm_apply_filters_to_tbl()` was deprecated in dm 1.0.0.
7683
i Access tables directly after `dm_filter()`.
7784
Output
78-
# A tibble: 3 x 4
7985
c d e e1
8086
<chr> <int> <chr> <int>
81-
1 worm 5 G 7
87+
1 cat 7 F 6
8288
2 dog 6 E 5
83-
3 cat 7 F 6
89+
3 worm 5 G 7
8490
Code
8591
dm_filter(dm_for_filter(), tf_1, a > 4) %>% dm_get_filters()
8692
Condition

0 commit comments

Comments
 (0)