Support for parameters is not on the feature list for the next release, but it would not be out of the question should there be sufficient demand heard by product management.
It seems odd to me that this feature is not already available with prepared statements as part of N1QL as it makes them currently impossible to execute from the workbench.
If a syntax has not yet been proposed for N1QL for this, can I suggest:
prepare airinfo
from SELECT a.name, s.flight, s.utc, r.sourceairport, r.destinationairport, r.equipment
FROM travel-sample r
UNNEST r.schedule s
JOIN travel-sample a ON KEYS r.airlineid
WHERE r.sourceairport=$airport AND
r.destinationairport=$1 AND
s.day=$2
ORDER BY a.name;
\SET -$airport “SJC”; # Set named parameter airport for source airport
\SET -args [“LAX”, 6 ]; # Set positional parameters for destination airport and day
execute airinfo; # Execute prepared statement airing
…