ldbc.dsl
Top-level imports provide aliases for the most commonly used types and modules. A typical starting set of imports might look something like this.
example:
import ldbc.dsl.*
Attributes
Members list
Packages
Type members
Classlikes
Attributes
- Source
- DBIO.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DBIO.type
A trait that represents the execution of a query.
A trait that represents the execution of a query.
Type parameters
- A
-
The result type of the query
Attributes
- Source
- DBIO.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class HandleErrorWith[A]class Pure[A]class QueryA[A]class RaiseError[A]class Returning[A]class Sequenceclass UpdateShow all
A model with a query string and parameters to be bound to the query string that is executed by PreparedStatement, etc.
A model with a query string and parameters to be bound to the query string that is executed by PreparedStatement, etc.
Value parameters
- params
-
statement has '?' that the statement has.
- statement
-
an SQL statement that may contain one or more '?' IN parameter placeholders
Attributes
- Source
- Mysql.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- Parameter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Parameter.type
Trait for determining what type of search system statements are retrieved from the database.
Trait for determining what type of search system statements are retrieved from the database.
Type parameters
- T
-
Column Tuples
Attributes
- Companion
- object
- Source
- Query.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- Query.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Query.type
Trait for generating the specified data type from a ResultSet.
Trait for generating the specified data type from a ResultSet.
Type parameters
- F
-
The effect type
- T
-
Type you want to build with data obtained from ResultSet
Attributes
- Companion
- object
- Source
- ResultSetConsumer.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- ResultSetConsumer.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ResultSetConsumer.type
A model with a query string and parameters to be bound to the query string that is executed by PreparedStatement, etc.
Types
Attributes
- Source
- DBIO.scala
Value members
Inherited methods
Returns (s1 AND s2 AND ... sn)
.
Returns (s1 AND s2 AND ... sn)
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (s1 AND s2 AND ... sn)
for a non-empty collection.
Returns (s1 AND s2 AND ... sn)
for a non-empty collection.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Similar to andOpt, but defaults to TRUE if passed an empty collection
Similar to andOpt, but defaults to TRUE if passed an empty collection
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (s1 AND s2 AND ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Returns (s1 AND s2 AND ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (s1 AND s2 AND ... sn)
for a non-empty collection.
Returns (s1 AND s2 AND ... sn)
for a non-empty collection.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns s1, s2, ... sn
.
Returns s1, s2, ... sn
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns s1, s2, ... sn
.
Returns s1, s2, ... sn
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (sql IN (s0, s1, ...))
.
Returns (sql IN (s0, s1, ...))
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (sql IN (v0, v1, ...))
.
Returns (sql IN (v0, v1, ...))
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (sql NOT IN (v0, v1, ...))
, or true
for empty fs
.
Returns (sql NOT IN (v0, v1, ...))
, or true
for empty fs
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (sql NOT IN (v0, v1, ...))
.
Returns (sql NOT IN (v0, v1, ...))
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (s1 OR s2 OR ... sn)
.
Returns (s1 OR s2 OR ... sn)
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (s1 OR s2 OR ... sn)
for a non-empty collection.
Returns (s1 OR s2 OR ... sn)
for a non-empty collection.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Similar to orOpt, but defaults to FALSE if passed an empty collection
Similar to orOpt, but defaults to FALSE if passed an empty collection
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (s1 OR s2 OR ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Returns (s1 OR s2 OR ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (s1 OR s2 OR ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Returns (s1 OR s2 OR ... sn)
for all defined sql, returning Empty SQL if there are no defined sql
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns ORDER BY s1, s2, ... sn
.
Returns ORDER BY s1, s2, ... sn
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns ORDER BY s1, s2, ... sn
for defined s
, if any, otherwise the empty sql.
Returns ORDER BY s1, s2, ... sn
for defined s
, if any, otherwise the empty sql.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns ORDER BY s1, s2, ... sn
or the empty sql if ss
is empty.
Returns ORDER BY s1, s2, ... sn
or the empty sql if ss
is empty.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns (sql)
.
Function for setting parameters to be used as static strings.
Function for setting parameters to be used as static strings.
val table = sc("table")
sql"SELECT * FROM $table WHERE id = ${1L}"
// SELECT * FROM table WHERE id = ?
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns SET s1, s2, ... sn
.
Returns SET s1, s2, ... sn
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns SET s1, s2, ... sn
.
Returns SET s1, s2, ... sn
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns VALUES (v0, v1), (v2, v3), ...
.
Returns VALUES (v0, v1), (v2, v3), ...
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 AND s2 AND ... sn
or the empty sql if ss
is empty.
Returns WHERE s1 AND s2 AND ... sn
or the empty sql if ss
is empty.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 AND s2 AND ... sn
.
Returns WHERE s1 AND s2 AND ... sn
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 AND s2 AND ... sn
if collection is not empty. If collection is empty returns an empty sql.
Returns WHERE s1 AND s2 AND ... sn
if collection is not empty. If collection is empty returns an empty sql.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 AND s2 AND ... sn
for defined s
, if any, otherwise the empty sql.
Returns WHERE s1 AND s2 AND ... sn
for defined s
, if any, otherwise the empty sql.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 OR s2 OR ... sn
or the empty sql if ss
is empty.
Returns WHERE s1 OR s2 OR ... sn
or the empty sql if ss
is empty.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 OR s2 OR ... sn
.
Returns WHERE s1 OR s2 OR ... sn
.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 OR s2 OR ... sn
if collection is not empty. If collection is empty returns an empty sql.
Returns WHERE s1 OR s2 OR ... sn
if collection is not empty. If collection is empty returns an empty sql.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Returns WHERE s1 OR s2 OR ... sn
for defined s
, if any, otherwise the empty sql.
Returns WHERE s1 OR s2 OR ... sn
for defined s
, if any, otherwise the empty sql.
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala
Extensions
Inherited extensions
Attributes
- Inherited from:
- StringContextSyntax
- Source
- StringContextSyntax.scala
Attributes
- Inherited from:
- StringContextSyntax
- Source
- StringContextSyntax.scala
Implicits
Inherited implicits
Attributes
- Inherited from:
- HelperFunctionsSyntax
- Source
- HelperFunctionsSyntax.scala