This method is used when the query is not returning a data result, such as an UPDATE query.
This method is used when the query is not returning a data result, such as an UPDATE query. While it will accurately monitor the execution of the query and the Future will complete when the task is "done" in SQL, the type-safe mapping of the result is not necessary at this point.
The below implementation will pass type arguments explicitly to the covariant constructor.
The Finagle MySQL client in the scope of which to execute the query.
A Scala Future wrapping a default Finagle MySQL query result object.
This method is used when the query is not returning a data result, such as an UPDATE query.
This method is used when the query is not returning a data result, such as an UPDATE query. While it will accurately monitor the execution of the query and the Future will complete when the task is "done" in SQL, the type-safe mapping of the result is not necessary at this point.
This method duplicates the API to provide an alternative to people who don't use Twitter Futures or any Twitter libraries in their stack. Until now anyway. Twitter has been gossiping about making com.twitter.util.Future extend scala.concurrent.Future, but until such times a dual API is best.
The below implementation will pass type arguments explicitly to the covariant constructor.
The Finagle MySQL client in the scope of which to execute the query.
A Scala Future wrapping a default Finagle MySQL query result object.
A simple forwarding method to prevent some extra boiler-plate during tests.
A simple forwarding method to prevent some extra boiler-plate during tests. This will serialise an existing query to the relevant SQL string.
A string representing the query encoded in SQL.