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
 
Profile picture
Shawn Mcconnell
Moderator
2 Questions, 2 Answers
Active since 03 May 2021
  Last activity 2 years ago

Reputation

1 0 1

Badges 3

  Editor   3 × Disciplined   2 × Eureka!
0 Votes
4 Answers
106 Views
0 Votes 4 Answers 106 Views
Is there a way to determine the exact transaction limit that a user currently has available so that we can validate up front whether or not an "exceeded tran...
3 years ago
0 Votes
0 Answers
138 Views
0 Votes 0 Answers 138 Views
In the SDK sandbox, is there a way to create new Shares and Loans for the test users, and update their HADEs, as needed, to simulate different scenarios? Tha...
3 years ago
0 Pre-validate Transaction Limits

I was able to access the GeneratedTransactionRights node, but it looks like it only provides the limit settings, but I'm looking for how much is still available to be transacted for the current day, etc.

Here is the code for future reference:

from q2_sdk.hq.db import policy_data

policy = await policy_data.PolicyData.get(self, policy_data.Entity.User, self.online_user.user_id)
self.logger.info("GeneratedTransactionRights > ExternalTransfer: " + str(policy.User.GeneratedTransactionR...

3 years ago
0 Pre-validate Transaction Limits

Solene,

Thanks for your response! So, is the GeneratedTransactionRights node detailed enough to tell me what limit amount is still available? i.e. Daily Limit is 15k, Member has already transferred 14k, so I would be able to see that 1k is still available to be transferred.

Thanks in advance,
Shawn

3 years ago
0 Votes
4 Answers
106 Views
0 Votes 4 Answers 106 Views
Is there a way to determine the exact transaction limit that a user currently has available so that we can validate up front whether or not an "exceeded tran...
3 years ago