3 ms·Pg_query: Parse PostgreSQL Queries in Ruby9 points by fanf2 7y agobdcravens 7y agoThis article is from 2014, though the gem does still appear to be actively developed: https://github.com/lfittl/pg_query https://github.com/lfittl/pg_query