Skip to content

Instantly share code, notes, and snippets.

View Seayon's full-sized avatar
🎯
Focusing

Seayon

🎯
Focusing
  • 上海
View GitHub Profile
@Seayon
Seayon / My-IN.sql.groovy
Last active May 4, 2023 07:27
Custom My-IN SQL Export Script for DataGrip
/*
* Available context bindings:
* COLUMNS List<DataColumn>
* ROWS Iterable<DataRow>
* OUT { append() }
* FORMATTER { format(row, col); formatValue(Object, col); getTypeName(Object, col); isStringLiteral(Object, col); }
* TRANSPOSED Boolean
* plus ALL_COLUMNS, TABLE, DIALECT
*
* where: