Skip to content
Permalink
Browse files

[scala] Remove `.handleQuery` without argument from DSL, replaced by:

```scala
import acolyte.Acolyte._
import acolyte.{ QueryExecution, QueryResult }

handleQuery { e: QueryExecution => /* QueryResult */ }
```
  • Loading branch information
cchantep
cchantep committed Nov 26, 2013
1 parent 251aef8 commit 18b94e06d565b35699250af7e7dabbe4c8df9ee3
Showing with 0 additions and 13 deletions.
  1. +0 −13 scala/src/main/scala/Acolyte.scala
@@ -55,19 +55,6 @@ object Acolyte extends ScalaRowLists with ScalaRows with CompositeHandlerImplici
*/
def handleStatement = ScalaCompositeHandler.empty

/**
* Creates a new handler detecting all statements as queries
* (equivalent to `handleStatement.withQueryDetection(".*")`).
*
* {{{
* import acolyte.Acolyte._
*
* connection { handleQuery }
* }}}
* @todo Remove at 1.0.10
*/
def handleQuery = handleStatement withQueryDetection ".*"

/**
* Creates a new handler detecting all statements as queries
* (like `handleStatement.withQueryDetection(".*").withQueryHandler(h)`).

0 comments on commit 18b94e0

Please sign in to comment.
You can’t perform that action at this time.