pounard / goat-query

Goat SQL query builder built over a PHP to SQL and SQL to PHP type converter
GNU General Public License v2.0
2 stars 0 forks source link

Queries to insert data from a sub-query are not well formed #15

Closed Lonnytunes closed 4 years ago

Lonnytunes commented 4 years ago

The incriminated line is this one: https://github.com/pounard/goat-query/blob/77ddb01e6a83fd2061cb78218052fc6bf5ee3eec/src/Query/Writer/DefaultFormatter.php#L694

I think it should be only (%s).

pounard commented 4 years ago

Nice, I'll write some tests around it.

pounard commented 4 years ago

Merci l'ami !