add implementation of virtual query.get(...) for MySQL