Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
How Can I check if it is in Prod or Stg?

I want my Icon pick vendor id 18 for stg and 21 for prod, I would like to understand how you make this filter.
I found DEPLOY_ENV thing but I couldn't understant where I have to config this, the documentation is very poor related to this

Votes Newest

Answers


Hello Fabio,

Those ids seem to vary from db to db so I would recommend Wedge_address_config or vendor_config(for SSOs). See the documentation here:
WEDGE_ADDRESS_CONFIGS: https://docs.q2developer.com/docs/tutorials/online_banking/configuration.html
VENDOR_CONFIGS: https://docs.q2developer.com/docs/tutorials/sso/index.html?highlight=vendor_config#example or in code form https://code.q2developer.com/Q2Antilles/sdk-examples/sso-example/-/blob/main/ExampleSSO/extension.py?ref_type=heads
For deploy_env I will reference my response here: https://community.q2developer.com/question/1574536779292217344/how-to-tell-which-environment-code-is-running-in

Trey

Posted one year ago
Trey Teter
489 × 4 Administrator
0

Thank you so much Trey!

— Fabio Araujo   one year ago
116 Views
1 Answer
one year ago
one year ago