The offset in the source of a byte of the rewritten statement. Inside a replaced % it is
that %.
- rewrite: the result of
rewrite_placeholders. - rewritten_offset: a byte offset in
rewrite.sql.
source_offset_of :: (rewrite: *Rewrite, rewritten_offset: s64) -> s64
The offset in the source of a byte of the rewritten statement. Inside a replaced % it is
that %.
Parameters
- rewrite: *Rewrite
- the result of
rewrite_placeholders. - rewritten_offset: s64
- a byte offset in
rewrite.sql.
Returns
- s64