Last active
September 9, 2019 12:54
-
-
Save michielmulders/7005fee8853aefe91cbdee220a61d1e1 to your computer and use it in GitHub Desktop.
Custom Filter Account Entity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.addFilter('asset_contains', ft.CUSTOM, { | |
condition: "asset @> '${asset_contains:value}'::jsonb", | |
}); | |
this.addFilter('asset_exists', ft.CUSTOM, { | |
condition: "asset ? '${asset_exists:value}'", | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment