enum_allin when NOT all in

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

enum_allin when NOT all in

Postby stuart_gall » Mon Jun 06, 2011 3:09 pm

Hello,
What does holdem_hand_player_statistics.enum_allin equal when the player was not all-in on any street

BECAUSE Instead of
(
holdem_hand_player_statistics.enum_allin = 'P' OR
holdem_hand_player_statistics.enum_allin = 'F' OR
holdem_hand_player_statistics.enum_allin = 'T' OR
holdem_hand_player_statistics.enum_allin = 'R' )

I want to write

holdem_hand_player_statistics.enum_allin != ???
I tried
holdem_hand_player_statistics.enum_allin != ''
holdem_hand_player_statistics.enum_allin != ' '
holdem_hand_player_statistics.enum_allin != '-'

These are always true :-(

TIA
Stuart
stuart_gall
 
Posts: 61
Joined: Mon Mar 22, 2010 7:46 am

Re: enum_allin when NOT all in

Postby kraada » Mon Jun 06, 2011 3:23 pm

It's 'N' when a player was never all in.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: enum_allin when NOT all in

Postby stuart_gall » Mon Jun 06, 2011 4:37 pm

TVM - Works now
stuart_gall
 
Posts: 61
Joined: Mon Mar 22, 2010 7:46 am

Re: enum_allin when NOT all in

Postby stuart_gall » Tue Jun 07, 2011 5:26 am

A followup question
holdem_hand_player_statistics.enum_allin is set when I am all-in

Say I have 10$ and my opponent has 5$ OTF heads up
I bet 10$ and am all-in my opponent calls and 5$ are returned.
is enum_allin set to F or to N ?

Same scenario
I bet 5$ my opponent calls and is all-in
Here enum_allin = N I checked.

So is there a flag for when I am not all-in but I cant bet because all my opponents are all-in
stuart_gall
 
Posts: 61
Joined: Mon Mar 22, 2010 7:46 am

Re: enum_allin when NOT all in

Postby kraada » Tue Jun 07, 2011 8:33 am

There is no flag for that situation - it's only considered an all-in bet by you if you bet the entirety of your own stack. However if you're heads up you can check to see if you bet more than the effective stack size for the street.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests