A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/anorm/SeqParameter.html below:

SeqParameter - anorm.SeqParameter

Wrapper to use Seq as SQL parameter, with custom formatting.

SQL("SELECT * FROM t WHERE %s").
  on(SeqParameter(Seq("a", "b"), " OR ", Some("cat = ")))
// Will execute as:
// SELECT * FROM t WHERE cat = 'a' OR cat = 'b'

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4