Expression Filters Help

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Expression Filters Help

Postby Thurpan » Thu May 21, 2020 2:17 pm

I am trying to filter for blind vs blind hands. So every situation where it folds to the SB

One way of doing this i thought would be when the SB is the first to put money in the pot using tourney_hand_summary.str_actors_p LIKE '9%'
However this doesn't include when the SB gives BB a walk which I need it to and I don't know the thing for that.
Thanks
Thurpan
 
Posts: 12
Joined: Tue Sep 20, 2016 7:46 am

Re: Expression Filters Help

Postby Flag_Hippo » Fri May 22, 2020 5:48 am

To include walks you can use this expression:

Code: Select all
tourney_hand_summary.str_actors_p SIMILAR TO '9%|'
Flag_Hippo
Moderator
 
Posts: 17126
Joined: Tue Jan 31, 2012 7:50 am

Re: Expression Filters Help

Postby Thurpan » Fri May 22, 2020 8:54 am

Flag_Hippo wrote:To include walks you can use this expression:

Code: Select all
tourney_hand_summary.str_actors_p SIMILAR TO '9%|'


Thankyou for this. Is there a resource I can use in the future to find stuff like this?
Thurpan
 
Posts: 12
Joined: Tue Sep 20, 2016 7:46 am

Re: Expression Filters Help

Postby Flag_Hippo » Fri May 22, 2020 11:55 am

What I posted is effectively a short version of:

Code: Select all
tourney_hand_summary.str_actors_p LIKE '9%' OR tourney_hand_summary.str_actors_p LIKE ''

For more detail on pattern matching in PostgreSQL see this guide.
Flag_Hippo
Moderator
 
Posts: 17126
Joined: Tue Jan 31, 2012 7:50 am


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 1 guest