Skip to content

Commit

Permalink
Fix typo in orm-to-slick.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
kejadlen committed Jan 20, 2015
1 parent 978fbc4 commit c92a615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sphinx/orm-to-slick.rst
Expand Up @@ -96,7 +96,7 @@ A method based embedding makes queries compositional. Factoring out filtering by

Of course ids are a trivial example, but this becomes very useful for more complex queries.

Java APIs like Hibernate Criteria Queries do no use Scala's operator overloading capabilities. This can lead to more cumbersome and less familiar code when expressing queries. Let's query for all people younger 5 or older than 65 for example.
Java APIs like Hibernate Criteria Queries do not use Scala's operator overloading capabilities. This can lead to more cumbersome and less familiar code when expressing queries. Let's query for all people younger 5 or older than 65 for example.

.. includecode:: code/OrmToSlick.scala#criteriaComposition

Expand Down

0 comments on commit c92a615

Please sign in to comment.