package postgres
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- postgres
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class AttributeRow(id: AttributeId, type: AttributeType, allowedValues: Option[Seq[Value]], namespaceSid: Sid, sid: Int = UnassignedSid) extends Product with Serializable
- final case class AttributeScopeRow(attributeSid: Int, attributeId: AttributeId, scopeSid: Sid, scopeId: ScopeId, namespaceSid: Sid) extends Product with Serializable
- case class EnvironmentRow(id: EnvironmentId, name: EnvironmentName, color: Option[String], namespaceSid: Sid, sid: Int = UnassignedSid) extends Product with Serializable
- final case class ExperimentRow(sid: Sid, id: ExplicitExperimentId, environmentSid: Int, name: ExperimentName, owner: Owner, status: ExperimentWorkflowStatus, features: Seq[FeatureId], scope: Option[ScopeId], traffic: Option[Percent], targeting: Option[String], variants: Seq[ExperimentVariant], startDate: Option[Instant], finishDate: Option[Instant], hypothesis: Option[Hypothesis], variantReason: Option[VariantReason], targetReason: Option[TargetReason], resources: Seq[Resource], analysis: Option[Analysis], version: Version) extends Product with Serializable
- sealed abstract class ExperimentWorkflowStatus extends StringEnumEntry
- final case class FeatureExperimentRow(sid: Sid, featureSid: Sid, environmentId: EnvironmentId, experiments: Seq[Experiment]) extends Product with Serializable
- final case class FeatureRolloutRow(sid: Sid, featureSid: Sid, environmentId: EnvironmentId, allocations: Seq[Allocation]) extends Product with Serializable
- final case class FeatureRow(id: FeatureId, name: FeatureName, description: FeatureDescription, tags: Seq[TagName], createdAt: Instant, updatedAt: Instant, version: Version = Version.Initial, payload: Feature, sid: Sid, namespaceSid: Sid) extends Product with Serializable
- case class JournalRow(entityType: String, entitySid: Int, seqNr: Long, eventType: String, eventPayload: Json, eventVersion: Int, authoredById: String, authoredByName: String, ts: Instant = Instant.MIN) extends Product with Serializable
- final case class LayerRow(sid: Sid, environmentSid: Int, name: LayerName, targeting: List[Rule], variants: List[LayerVariant], lastVariantId: Int, version: Version, status: LayerStatus) extends Product with Serializable
- case class NamespaceRow(id: NamespaceId, name: NamespaceName, sid: Sid = NamespaceRow.Sid()) extends Product with Serializable
- trait PgRepo extends AnyRef
- final case class QuickWinRow(namespaceId: NamespaceId, environmentId: EnvironmentId, featureSid: Sid, entityType: QuickWinType, entityName: String) extends Product with Serializable
- class QuillContext extends PostgresZioJdbcContext[SnakeCase.type]
Contains schema definition on scala side
Contains schema definition on scala side
KEEP
nowarnbelow and DO NOT put explicit type annotations onInsertMetaimplicits !!! Otherwise, Quill will create wrong dynamic queries.For details see https://github.com/zio/zio-quill/issues/1104
- Annotations
- @nowarn()
- case class ScopeRow(id: ScopeId, name: ScopeName, namespaceSid: Sid, sid: Sid = ScopeRow.Sid()) extends Product with Serializable
- case class TagRow(name: TagName, namespaceSid: Sid) extends Product with Serializable
- case class UserRow(sid: Int, oktaId: String, email: String, name: String, createdAt: Instant, updatedAt: Instant) extends Product with Serializable
Value Members
- object EnvironmentRow extends Serializable
- object ExperimentRow extends Serializable
- object ExperimentWorkflowStatus extends StringEnum[ExperimentWorkflowStatus]
- object FeatureExperimentRow extends Serializable
- object FeatureRolloutRow extends Serializable
- object FeatureRow extends Serializable
- object LayerRow extends Serializable
- object NamespaceRow extends Serializable
- object QuickWinRow extends Serializable
- object QuillContext
- object ScopeRow extends Serializable
- object TagRow extends Serializable
- object UniqueViolated