object Session
- Source
- Session.scala
- Grouped
- Alphabetic
- By Inheritance
- Session
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- implicit class SessionSyntax[F[_]] extends AnyRef
- implicit class SignalOps[F[_], A] extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromProtocol[F[_]](proto: Protocol[F], namer: Namer[F], strategy: Strategy)(implicit arg0: Sync[F]): F[Session[F]]
Construct a
Session
by wrapping an existingProtocol
, which we assume has already been started up. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pooled[F[_]](host: String, port: Int, user: String, database: String, max: Int)(implicit arg0: Concurrent[F], arg1: ContextShift[F], arg2: Trace[F]): SessionPool[F]
Resource yielding a
SessionPool
managing up tomax
concurrentSession
s.Resource yielding a
SessionPool
managing up tomax
concurrentSession
s.- host
Postgres server host
- port
Postgres port, default 5432
- user
Postgres user
- database
Postgres database
- max
Postgres maximum concurrent sessions count
-
def
single[F[_]](host: String, port: Int = 5432, user: String, database: String, debug: Boolean = false, readTimeout: FiniteDuration = Int.MaxValue.seconds, writeTimeout: FiniteDuration = 5.seconds, strategy: Strategy = Typer.Strategy.BuiltinsOnly)(implicit arg0: Concurrent[F], arg1: ContextShift[F], arg2: Trace[F]): Resource[F, Session[F]]
Resource yielding a new, unpooled
Session
with the given connect information and statement checking policy.Resource yielding a new, unpooled
Session
with the given connect information and statement checking policy.- host
Postgres server host
- port
Postgres port, default
5432
- user
Postgres user
- database
Postgres database
- debug
If
true
Skunk will log all message exchanges to the console, defaultfalse
. This is useful if you're working on Skunk itself but should be disabled otherwise.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()