You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,31 @@ class ProdImport extends Import
67
67
}
68
68
```
69
69
70
+
#### Table filter
71
+
72
+
Sometimes you may need to filter tables to get only certain items like, for instance, only the last 6 months of work. This may be achieved by adding table filters.
73
+
74
+
Let say I have a table called `orders` where I only need the last 6 months items.
You will receive the base query in parameter and you should return the modified query.
94
+
70
95
### Registering import
71
96
72
97
Since you published the vendor's file, you'll notice that you have a brand new `dbimport.php` in your config file. In this file you will register all of you import classes you want to use.
0 commit comments