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.
That database field doesn't exist - there isn't a separate face-allin field for each street - you need to check that you faced an all-in on the river, and that you called when you faced an all-in, like this:
holdem_hand_player_statistics.enum_face_allin = 'R' AND holdem_hand_player_statistics.enum_face_allin_action = 'C'
The 'R' means river, it could also be P, F or T, or N for none. The 'C' at the end means call, it could also be F or R for fold or raise.