Skip to content

Commit

Permalink
Fix typo in queries.rst
Browse files Browse the repository at this point in the history
Further the inclusion of :ref:`records <record-types>` duplicates the prepended "or". See: http://slick.lightbend.com/doc/3.1.1/queries.html#compiled-queries
  • Loading branch information
Gacko committed Sep 19, 2016
1 parent 51e14f2 commit 26b0be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slick/src/sphinx/queries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ and its subclasses for details on composing compiled queries.

.. index:: take, drop

Be aware that ``take`` and ``drop`` take ``ConstColumn[Long]`` parameters. Unlike ``Rep[Long]]``,
Be aware that ``take`` and ``drop`` take ``ConstColumn[Long]`` parameters. Unlike ``Rep[Long]``,
which could be substituted by another value computed by a query, a ConstColumn can only be literal
value or a parameter of a compiled query. This is necessary because the actual value has to be
known by the time the query is prepared for execution by Slick.
Expand Down

0 comments on commit 26b0be8

Please sign in to comment.