Using the "holdem_pot.expected" field

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

Using the "holdem_pot.expected" field

Postby stevi3p » Sat Sep 25, 2010 5:11 am

I wish to create a new report showing my expected value by stakes. I thought this would be straightforward, in that I could easily create a new column in the "Holdem Player Statistics" section. I tried to enter:

amt_expected = sum(holdem_pot.expected) as the expression, and the summary type is Sum - I just copied over amt_mgr as a template.

However, this returns "The Statement is not valid SQL".

Why? Looking at pgadmin it seems that the table is populated for only hands that hero is involved. Does this have anything to do with it?

Cheers

Steve
stevi3p
 
Posts: 71
Joined: Thu Mar 13, 2008 3:00 pm

Re: Using the "holdem_pot.expected" field

Postby WhiteRider » Sat Sep 25, 2010 7:38 am

The expected amount won is not yet stored in the database and can only be used in reports showing individual hands - only in the Holdem Cash Hands section.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Using the "holdem_pot.expected" field

Postby stevi3p » Sat Sep 25, 2010 9:41 am

Thanks for the response. Any idea when it's likely to be populated?
stevi3p
 
Posts: 71
Joined: Thu Mar 13, 2008 3:00 pm

Re: Using the "holdem_pot.expected" field

Postby WhiteRider » Sat Sep 25, 2010 12:10 pm

I don't know, sorry.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Using the "holdem_pot.expected" field

Postby kraada » Sun Sep 26, 2010 8:56 am

holdem_pot is not a PT3 database field by default. I believe it's added by HoldemLuck.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Using the "holdem_pot.expected" field

Postby FilS2BotS » Sun Sep 26, 2010 12:49 pm

TourneyLuck does not work anymore with the last version of PT3...
Is there a way to make it work ?
FilS2BotS
 
Posts: 149
Joined: Wed May 05, 2010 2:20 am

Re: Using the "holdem_pot.expected" field

Postby kraada » Sun Sep 26, 2010 1:09 pm

Not at this point in time. I attempted to notify the TourneyLuck developer, but he has not responded.
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