sync

molecule.db.postgresql.`package`.sync
object sync extends Api_sync, Api_sync_transact, Spi_postgresql_sync

Attributes

Source
package.scala
Graph
Supertypes
trait SpiBaseJVM_sync
trait FutureUtils
trait MoleculeLogging
trait Logging
trait Renderer
trait SqlUpdateSetValidator
trait BaseHelpers
trait DateHandling
trait RegexMatching
trait SpiHelpers
trait ModelUtils
trait CachedConnection
trait Spi_sync
trait Api_sync_transact
trait Api_sync
trait Keywords
class Object
trait Matchable
class Any
Show all
Self type
sync.type

Members list

Type members

Inherited classlikes

implicit class Regex(sc: StringContext)

Attributes

Inherited from:
RegexMatching
Source
RegexMatching.scala
Supertypes
class Object
trait Matchable
class Any
case class SqlOps_postgres(conn: JdbcConn_JVM) extends SqlOps

Attributes

Inherited from:
Spi_postgresql_sync
Source
Spi_postgresql_sync.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlOps
trait BaseHelpers
trait DateHandling
trait RegexMatching
class Object
trait Matchable
class Any
Show all
object avg extends avg

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait avg
trait AggrCoalesce
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object count extends count

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait count
trait AggrInt
trait AggrCoalesce
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object countDistinct extends countDistinct

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait countDistinct
trait AggrCoalesce
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object distinct extends distinct

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait distinct
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object max extends max

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait max
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object median extends median

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait median
trait AggrCoalesce
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object min extends min

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait min
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object sample extends sample

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait sample
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object stddev extends stddev

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait stddev
trait AggrCoalesce
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object sum extends sum

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait sum
trait AggrCoalesce
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all
object variance extends variance

Attributes

Inherited from:
Keywords
Source
Keywords.scala
Supertypes
trait variance
trait AggrCoalesce
trait AggrKw
trait Kw
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

def ?: qm

Attributes

Inherited from:
Keywords
Source
Keywords.scala
def await[T](body: => Future[T], atMost: Duration): T

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
def byteBufferToArray(buf: ByteBuffer): Array[Byte]

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def countValueAttrs(elements: List[Element]): Int

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def date2str(date: Date, zoneOffset: ZoneOffset): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def daylight(ms: Long): Int

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
override def delete_getAction(delete: Delete, conn: JdbcConn_JVM): DeleteAction

Attributes

Definition Classes
Spi_postgresql_sync -> SpiBaseJVM_sync
Inherited from:
Spi_postgresql_sync
Source
Spi_postgresql_sync.scala
override def delete_inspect(delete: Delete)(using conn0: Conn): String

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def delete_transact(delete: Delete)(using conn0: Conn): TxReport

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
def diff(s1: String, s2: String): Unit

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def either[T](fut: Future[T])(using ec: ExecutionContext): Future[Either[MoleculeError, T]]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
def escStr(s: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def expandDateStr(dateStr: String): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
override def fallback_rawQuery(query: String, debug: Boolean)(using conn: Conn): List[List[Any]]

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def fallback_rawTransact(stmt: String, doPrint: Boolean)(using conn0: Conn): TxReport

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
def firstLow(str: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def future[T](body: => T)(using ec: ExecutionContext): Future[T]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
final def getAttrNames(elements: List[Element], attrs: Set[String]): Set[String]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def getConn(proxy: ConnProxy): Future[JdbcConn_JVM]

Attributes

Inherited from:
CachedConnection
Source
CachedConnection.scala
final protected def getInitialEntity(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def getInitialNonGenericEntity(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def getKwName(kw: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
override def getModel2SqlQuery(elements: List[Element]): Model2SqlQuery & SqlQueryBase

Attributes

Definition Classes
Spi_postgresql_sync -> SpiBaseJVM_sync
Inherited from:
Spi_postgresql_sync
Source
Spi_postgresql_sync.scala
def getNth(n: Int): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def getResultSetAndRowResolver[Tpl](q0: Query[Tpl], conn0: Conn): (ResultSetInterface, ResultSetInterface => Any)

Attributes

Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
def hasRef(elements: List[Element]): Boolean

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def indent(tabs: Int): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
override def insert_getAction(insert: Insert, conn: JdbcConn_JVM): InsertAction

Attributes

Definition Classes
Spi_postgresql_sync -> SpiBaseJVM_sync
Inherited from:
Spi_postgresql_sync
Source
Spi_postgresql_sync.scala
override def insert_inspect(insert: Insert)(using conn: Conn): String

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def insert_transact(insert: Insert)(using conn0: Conn): TxReport

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def insert_validate(insert: Insert)(using conn: Conn): Seq[(Int, Seq[InsertError])]

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
protected def inspectQuery(label: String, dataModel: DataModel, optLimit: Option[Int], optOffset: Option[Int], proxy: ConnProxy): String

Attributes

Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
protected def jsonArray2coalescedSet(a: Attr, rs: ResultSetInterface): Set[Any]

Attributes

Inherited from:
SpiHelpers
Source
SpiHelpers.scala
protected def keywordsSuffixed(elements: List[Element], proxy: ConnProxy): List[Element]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final def list[T](values: Iterable[T]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def localOffset: String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def localZoneOffset: ZoneOffset

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
protected def logger: Logger

The logger for this class.

The logger for this class.

Attributes

Inherited from:
Logging
Source
Logging.scala
protected def loggerName: String

Override this to change the name of the underlying logger.

Override this to change the name of the underlying logger.

Defaults to class name with package

Attributes

Inherited from:
Logging
Source
Logging.scala
protected def nestedArray2coalescedSet(a: Attr, rs: ResultSetInterface, isAttr: Boolean): Set[Any]

Attributes

Inherited from:
SpiHelpers
Source
SpiHelpers.scala
def noCollectionFilterEq(attr: String): Nothing

Attributes

Inherited from:
SpiHelpers
Source
SpiHelpers.scala
def noEntityReUseAfterBackref(nextElement: Element, prevRefs: List[String], backRef: String): Unit

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def noIdsTwice(): Nothing

Attributes

Inherited from:
SpiHelpers
Source
SpiHelpers.scala
def noMixIdsFilterAttrs(): Nothing

Attributes

Inherited from:
SpiHelpers
Source
SpiHelpers.scala
def noNested: Nothing

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def noOptRef: Nothing

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def noOptional(a: Attr): Nothing

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final def o(opt: Option[Any]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def oStr(opt: Option[String]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def oStr2(opt: Option[String]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def opt(opt: Option[Any]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def optFilterAttr(opt: Option[(Int, List[String], Any)]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def pad(longest: Int, shorter: Int): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def padS(longest: Int, str: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
override def queryCursor_get[Tpl](query: QueryCursor[Tpl])(using conn0: Conn): (List[Tpl], String, Boolean)

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def queryCursor_inspect[Tpl](q: QueryCursor[Tpl])(using conn: Conn): String

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def queryOffset_get[Tpl](query: QueryOffset[Tpl])(using conn0: Conn): (List[Tpl], Int, Boolean)

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def queryOffset_inspect[Tpl](q: QueryOffset[Tpl])(using conn: Conn): String

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def query_get[Tpl](query: Query[Tpl])(using conn0: Conn): List[Tpl]

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def query_inspect[Tpl](q: Query[Tpl])(using conn: Conn): String

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def query_stream[Tpl](q: Query[Tpl], chunkSize: Int)(using conn0: Conn): Generator[Tpl]

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def query_subscribe[Tpl](query: Query[Tpl], callback: List[Tpl] => Unit)(using conn0: Conn): Unit

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def query_unsubscribe[Tpl](query: Query[Tpl])(using conn: Conn): Unit

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
def rawQuery(query: String, debug: Boolean)(using conn: Conn): List[List[Any]]

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def rawTransact(txData: String, debug: Boolean)(using conn: Conn): TxReport

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
final def render(value: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def renderInspection(action: String, dataModel: DataModel, dbString: String, dataString: String): String

Attributes

Inherited from:
Renderer
Source
Renderer.scala
final def renderValidations(validations: List[(String, String)]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
override def save_getAction(save: Save, conn: JdbcConn_JVM): SaveAction

Attributes

Definition Classes
Spi_postgresql_sync -> SpiBaseJVM_sync
Inherited from:
Spi_postgresql_sync
Source
Spi_postgresql_sync.scala
override def save_inspect(save: Save)(using conn0: Conn): String

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def save_transact(save: Save)(using conn0: Conn): TxReport

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def save_validate(save: Save)(using conn: Conn): Map[String, Seq[String]]

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
def savepoint[T](runSavepoint: Savepoint => T)(using conn: Conn): T

Attributes

Inherited from:
Api_sync_transact
Source
Api_sync.scala
def ss(a: String, b: String, c: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def ss(a: String, b: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def str2date(s: String, zoneOffset: ZoneOffset): Date

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def str2zdt(s: String, zoneOffset: ZoneOffset): ZonedDateTime

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def thousands(i: Long): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def transact(actions: Seq[Action])(using conn: Conn): Seq[TxReport]

Attributes

Inherited from:
Api_sync_transact
Source
Api_sync.scala
def transact(a1: Action, a2: Action, aa: Action*)(using conn: Conn): Seq[TxReport]

Attributes

Inherited from:
Api_sync_transact
Source
Api_sync.scala
def truncateDateStr(dateStr: String): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def unescStr(s: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def unitOfWork[T](runUOW: => T)(using conn: Conn): T

Attributes

Inherited from:
Api_sync_transact
Source
Api_sync.scala
override def update_getAction(update: Update, conn: JdbcConn_JVM): UpdateAction

Attributes

Definition Classes
Spi_postgresql_sync -> SpiBaseJVM_sync
Inherited from:
Spi_postgresql_sync
Source
Spi_postgresql_sync.scala
override def update_inspect(update: Update)(using conn0: Conn): String

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def update_transact(update: Update)(using conn0: Conn): TxReport

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
override def update_validate(update: Update)(using conn0: Conn): Map[String, Seq[String]]

Attributes

Definition Classes
SpiBaseJVM_sync -> Spi_sync
Inherited from:
SpiBaseJVM_sync
Source
SpiBaseJVM_sync.scala
protected def validKey(key: String): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
override def validateUpdateSet(proxy: ConnProxy, elements: List[Element], query2resultSet: String => ResultSetInterface): Map[String, Seq[String]]

Attributes

Definition Classes
Spi_postgresql_sync -> SpiBaseJVM_sync
Inherited from:
Spi_postgresql_sync
Source
Spi_postgresql_sync.scala
protected def validateUpdateSet_array(proxy: ConnProxy, elements: List[Element], query2resultSet: String => ResultSetInterface): Map[String, Seq[String]]

Attributes

Inherited from:
SqlUpdateSetValidator
Source
SqlUpdateSetValidator.scala
protected def validateUpdateSet_json(proxy: ConnProxy, elements: List[Element], query2resultSet: String => ResultSetInterface): Map[String, Seq[String]]

Attributes

Inherited from:
SqlUpdateSetValidator
Source
SqlUpdateSetValidator.scala
protected def validateUpdateSet_sqlite(proxy: ConnProxy, elements: List[Element], query2resultSet: String => ResultSetInterface): Map[String, Seq[String]]

Attributes

Inherited from:
SqlUpdateSetValidator
Source
SqlUpdateSetValidator.scala
def withDecimal(v: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def zone: ZoneId

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala

Inherited fields

val logFormatter: Formatter

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala
val logLevel: Level

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala

Extensions

Inherited extensions

extension [Tpl](delete: Delete)
def inspect(using conn0: Conn): String

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def transact(using conn0: Conn): TxReport

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
extension [T](fut: Future[Either[MoleculeError, T]])(using ec: ExecutionContext)
def future: Future[T]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
extension [Tpl](insert: Insert)
def inspect(using conn: Conn): String

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def transact(using conn: Conn): TxReport

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def validate(using conn: Conn): Seq[(Int, Seq[InsertError])]

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
extension [Tpl](q: Query[Tpl])
def get(using conn: Conn): List[Tpl]

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def inspect(using conn: Conn): String

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def stream(chunkSize: Int)(using conn: Conn): Generator[Tpl]

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def stream(using conn: Conn): Generator[Tpl]

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def subscribe(callback: List[Tpl] => Unit)(using conn: Conn): Unit

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def unsubscribe()(using conn: Conn): Unit

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
extension [Tpl](q: QueryOffset[Tpl])
def get(using conn: Conn): (List[Tpl], Int, Boolean)

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def inspect(using conn: Conn): String

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
extension [Tpl](q: QueryCursor[Tpl])
def get(using conn: Conn): (List[Tpl], String, Boolean)

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def inspect(using conn: Conn): String

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
extension [Tpl](save: Save)
def inspect(using conn: Conn): String

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def transact(using conn: Conn): TxReport

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def validate(using conn: Conn): Map[String, Seq[String]]

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
extension [Tpl](update: Update)
def inspect(using conn0: Conn): String

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def transact(using conn0: Conn): TxReport

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala
def validate(using conn: Conn): Map[String, Seq[String]]

Attributes

Inherited from:
Api_sync
Source
Api_sync.scala

Implicits

Inherited implicits

final implicit def Regex(sc: StringContext): Regex

Attributes

Inherited from:
RegexMatching
Source
RegexMatching.scala