com.lucidchart.open

relate

package relate

Relate API

Use the SQL method to start an SQL query

import com.lucidchart.open.relate._

SQL("Select 1")
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. relate
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Expandable extends Sql

    Expandable is a trait for SQL queries that can be expanded.

  2. trait RowParser[+A] extends (SqlResult) ⇒ A

    A RowParser is a function that takes a SqlResult as a parameter and parses it to return a concrete type

  3. sealed trait Sql extends AnyRef

    Sql is a trait for basic SQL queries.

  4. class SqlResult extends AnyRef

    The SqlResult class is a wrapper around Java's ResultSet class.

  5. class SqlStatement extends AnyRef

    A smart wrapper around the PreparedStatement class that allows inserting parameter values by name rather than by index.

  6. case class TupleStatement(stmt: PreparedStatement, params: Map[String, Int], index: Int) extends Product with Serializable

    This class is used to insert tuple data into a prepared statement

Value Members

  1. object PaginatedQuery

    The PaginatedQuery companion object supplies apply methods that will create new PaginatedQuery's and execute them to get Streams of results.

  2. object Query

    Provide implicit method calls for syntactic sugar

  3. object RowParser

    The RowParser companion object allows creation of arbitrary RowParsers with its apply method.

  4. def SQL(stmt: String): ExpandableQuery

    Create a SQL query with the provided statement

    Create a SQL query with the provided statement

    stmt

    the SQL statement

    val query = SQL("SELECT * FROM users")
  5. object SqlResult

  6. object SqlResultTypes

    The SqlResultTypes object provides syntactic sugar for RowParser creation.

Inherited from AnyRef

Inherited from Any

Ungrouped