Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait SqlServerJdbcTypes[SQLServerDialect, N]trait UUIDStringEncodingtrait BooleanObjectEncodingtrait ObjectGenericTimeDecoderstrait ObjectGenericTimeEncoderstrait ZioTranslateContext[SQLServerDialect, N]trait ContextTranslateMacro[SQLServerDialect, N]trait ContextTranslateProto[SQLServerDialect, N]trait ContextVerbPrepare[SQLServerDialect, N]trait JdbcContextTypes[SQLServerDialect, N]trait Decoderstrait Encoderstrait SqlContext[SQLServerDialect, N]trait ZioContext[SQLServerDialect, N]trait ContextVerbStream[SQLServerDialect, N]trait ProtoStreamContext[SQLServerDialect, N]trait Context[SQLServerDialect, N]trait Closeabletrait AutoCloseabletrait EncodingDsltrait LowPriorityImplicitstrait ProtoContextSecundus[SQLServerDialect, N]trait RowContextclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- RowContext
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- RowContext
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- Context
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Decoders
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GenericDecoder[ResultRow, Session, T, Specific]trait (Int, ResultRow, Session) => Tclass Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- Encoders
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GenericEncoder[T, PrepareRow, Session]trait (Int, T, PrepareRow, Session) => PrepareRowclass Objecttrait Matchableclass AnyShow all
Attributes
- Inherited from:
- JdbcContextTypes
- Supertypes
-
trait GenericNullChecker[ResultRow, Session]class Objecttrait Matchableclass Any
Inherited types
Attributes
- Inherited from:
- EncodingDsl
Attributes
- Inherited from:
- EncodingDsl
Attributes
- Inherited from:
- EncodingDsl
Attributes
- Inherited from:
- EncodingDsl
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- EncodingDsl
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- EncodingDsl
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- RowContext
Attributes
- Inherited from:
- JdbcContextTypes
Attributes
- Inherited from:
- JdbcContextTypes
Attributes
- Inherited from:
- RowContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- EncodingDsl
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Future class to hold things like ExecutionContext for Cassandra etc...
Future class to hold things like ExecutionContext for Cassandra etc...
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Value members
Inherited methods
Internal API that cannot be made private due to how inline functions
Internal API that cannot be made private due to how inline functions
Attributes
- Inherited from:
- ContextVerbStream
Attributes
- Inherited from:
- ContextVerbPrepare
Internal API that cannot be made private due to how inline functions
Internal API that cannot be made private due to how inline functions
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Definition Classes
- Inherited from:
- ZioJdbcContext
Attributes
- Definition Classes
-
ZioJdbcContext -> Context
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Definition Classes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- RowContext
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- EncodingDsl
Attributes
- Inherited from:
- EncodingDsl
Parses instances of java.sql.Types to string form so it can be used in creation of sql arrays. Some databases does not support each of generic types, hence it's welcome to override this method and provide alternatives to non-existent types.
Parses instances of java.sql.Types to string form so it can be used in creation of sql arrays. Some databases does not support each of generic types, hence it's welcome to override this method and provide alternatives to non-existent types.
Value parameters
- intType
-
one of java.sql.Types
Attributes
- Returns
-
JDBC type in string form
- Inherited from:
- JdbcContextTypes
Attributes
- Inherited from:
- ContextVerbPrepare
Attributes
- Inherited from:
- ContextVerbPrepare
Attributes
- Inherited from:
- ContextVerbPrepare
Attributes
- Inherited from:
- ContextVerbPrepare
Attributes
- Definition Classes
- Inherited from:
- ZioJdbcContext
Attributes
- Definition Classes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ContextTranslateProto
Attributes
- Definition Classes
- Inherited from:
- ZioJdbcContext
Execute SQL on connection and return prepared statement. Closes the statement in a bracket.
Execute SQL on connection and return prepared statement. Closes the statement in a bracket.
Attributes
- Inherited from:
- ZioPrepareContext
Attributes
- Definition Classes
-
ZioTranslateContext -> ContextTranslateProto
- Inherited from:
- ZioTranslateContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Definition Classes
-
ZioTranslateContext -> ContextTranslateProto
- Inherited from:
- ZioTranslateContext
Attributes
- Inherited from:
- ContextVerbStream
Attributes
- Inherited from:
- ContextVerbStream
Attributes
- Inherited from:
- ZioJdbcContext
Execute instructions in a transaction. For example, to add a Person row to the database and return the contents of the Person table immediately after that:
Execute instructions in a transaction. For example, to add a Person row to the database and return the contents of the Person table immediately after that:
val a = run(query[Person].insert(Person(...)): ZIO[Has[DataSource], SQLException, Long]
val b = run(query[Person]): ZIO[Has[DataSource], SQLException, Person]
transaction(a *> b): ZIO[Has[DataSource], SQLException, Person]
The order of operations run in the case that a new connection needs to be aquired are as follows:
getDS from env, acquire-connection, set-no-autocommit(connection), put-into-fiberref(connection), op - the corresponding execute_ method which will execute and pull connection from the fiberref, remove-from-fiberref(connection), set-prev-autocommit(connection), release-conn
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Inherited from:
- ContextTranslateMacro
Attributes
- Definition Classes
-
ZioJdbcContext -> ContextTranslateProto
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- ContextTranslateProto
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Definition Classes
-
ZioJdbcContext -> ContextTranslateProto
- Inherited from:
- ZioJdbcContext
Attributes
- Definition Classes
-
ZioTranslateContext -> ContextTranslateProto
- Inherited from:
- ZioTranslateContext
Concrete fields
Inherited fields
Since we are immediately executing the ZIO that creates this fiber ref whether it is global is not really relevant since it does not really use scope However if it were used for something else it would be scoped to the fiber-ref of the zio-jdbc context's creator i.e. the global scope.
Since we are immediately executing the ZIO that creates this fiber ref whether it is global is not really relevant since it does not really use scope However if it were used for something else it would be scoped to the fiber-ref of the zio-jdbc context's creator i.e. the global scope.
Attributes
- Inherited from:
- ZioJdbcContext
Attributes
- Inherited from:
- JdbcContextTypes
Attributes
- Inherited from:
- RowContext
Attributes
- Inherited from:
- ZioJdbcContext
Extensions
Inherited extensions
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- Context
When using this with FilterColumns make sure it comes FIRST. Otherwise the columns are you filtering may have been nullified in the SQL before the filteration has actually happened.
When using this with FilterColumns make sure it comes FIRST. Otherwise the columns are you filtering may have been nullified in the SQL before the filteration has actually happened.
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- Context
Implicits
Inherited implicits
Attributes
- Inherited from:
- LowPriorityImplicits
Attributes
- Inherited from:
- LowPriorityImplicits
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- BooleanObjectEncoding
Attributes
- Inherited from:
- BooleanObjectEncoding
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Context
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- ObjectGenericTimeDecoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- ObjectGenericTimeDecoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeDecoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeDecoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Definition Classes
-
Encoders -> EncodingDsl
- Inherited from:
- Encoders
Attributes
- Inherited from:
- JdbcContextTypes
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders
Attributes
- Inherited from:
- ObjectGenericTimeDecoders
Attributes
- Inherited from:
- ObjectGenericTimeDecoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- Decoders
Attributes
- Inherited from:
- Encoders
Attributes
- Inherited from:
- UUIDStringEncoding
Attributes
- Inherited from:
- UUIDStringEncoding
Attributes
- Inherited from:
- ObjectGenericTimeDecoders
Attributes
- Inherited from:
- ObjectGenericTimeEncoders