All Downloads are FREE. Search and download functionalities are using the official Maven repository.

calasql-query_3.0.1.5.source-code.Aggregate.scala Maven / Gradle / Ivy

There is a newer version: 0.1.9
Show newest version
package scalasql.query

import scalasql.core.{Queryable, SqlStr, Context}

class Aggregate[Q, R](
    toSqlStr0: Context => SqlStr,
    construct0: Queryable.ResultSetIterator => R,
    protected val expr: Q,
    protected val qr: Queryable[Q, R]
) extends Query.DelegateQueryable[Q, R] {

  protected override def queryIsSingleRow: Boolean = true
  private[scalasql] def renderSql(ctx: Context) = toSqlStr0(ctx)

  override protected def queryConstruct(args: Queryable.ResultSetIterator): R = construct0(args)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy