.
in() accepts an arbitrary number of parameters. The first parameter
must always specify the value that should be matched against. Successive
parameters must contain a logical expression or an array with logical
expressions. These expressions will be matched against the first
parameter.
Example:
$q->select( '*' )->from( 'table' )
->where( $q->expr->in( 'id', 1, 2, 3 ) );
Optimization note: Call setQuotingValues( false ) before using in() with
big lists of numeric parameters. This avoid redundant quoting of numbers
in resulting SQL query and saves time of converting strings to
numbers inside RDBMS.