Skip to content

Instantly share code, notes, and snippets.

@pthiers
pthiers / PHP-Array.groovy
Last active November 14, 2024 13:35
datagrip php array extractor
/*
* Available context bindings:
* COLUMNS List<DataColumn>
* ROWS Iterable<DataRow>
* OUT { append() }
* FORMATTER { format(row, col); formatValue(Object, col) }
* TRANSPOSED Boolean
* plus ALL_COLUMNS, TABLE, DIALECT
*
* where: