pub fn write_postgres_in_pattern(
buf: &mut String,
start_idx: usize,
count: usize,
)Expand description
Write PostgreSQL IN placeholders directly to a buffer.
Optimizations:
- Pre-computed patterns for counts 1-20 starting at $1 (zero allocation)
- Batch placeholder lookup for larger counts
- Minimized branch predictions in hot loop