SqlStatsMonitor

abstract class SqlStatsMonitor[F[_], A](ref: Ref[F, List[SqlStats]])(implicit evidence$1: Applicative[F]) extends SqlMonitor[F, A]

A SqlMonitor that accumulates SqlStats in a Ref. Stage boundaries and results are not tracked.

Companion:
object
Source:
SqlStatsMonitor.scala
trait SqlMonitor[F, A]
class Object
trait Matchable
class Any

Value members

Abstract methods

def inspect(fragment: A): (String, List[Any])

Extract the SQL string and query arguments from a fragment.

Extract the SQL string and query arguments from a fragment.

Source:
SqlStatsMonitor.scala

Concrete methods

final def queryMapped(query: Query, fragment: A, rows: Int, cols: Int): F[Unit]
final def take: F[List[SqlStats]]

Get the current state and reset it to Nil.

Get the current state and reset it to Nil.

Source:
SqlStatsMonitor.scala