> Technically yes, but practically I think the complexity of that approach 
> would likely outweigh its utility, hence the current approach.

OK I see, thank you.

I do not think there is much room left for discussion regarding the 
implementation approach.

As for demand, I tried the following search on GitHub code search:

```
/(?-i)->getSQL\(true/ language:PHP
```

It returns roughly 500 hits (although, of course, there is no guarantee that 
all of them are from the SQLite3 extension).

Looking through the code at a high level, it seems to be used mainly for SQL 
reuse and debugging.

It is certainly possible to log the SQL before binding and the parameters to be 
bound separately, but being able to retrieve the actually assembled SQL may 
still be convenient.

Regards,

Saki

Reply via email to