openpql-runner 0.3.0

A high-performance Rust implementation of Poker Query Language (PQL), enabling SQL-like queries for poker analysis and calculations. This project is a spiritual successor to the original Java implementation developed by Odds Oracle.
Documentation
1
2
3
4
5
6
use super::*;

#[pqlfn]
pub fn in_range(ctx: &PQLFnContext, player: PQLPlayer, range: &PQLRange) -> PQLBoolean {
    range.is_satisfied(ctx.get_player_slice(player))
}