PgApi

final class PgApi[F[_]](table: String, logger: Logger[F])(implicit evidence$1: Sync[F])
class Object
trait Matchable
class Any

Value members

Concrete methods

def computeAttr(id: BinaryId, detect: ContentTypeDetect, hint: Hint, chunkSize: Int): DbRun[F, BinaryAttributes]
def computeLength(id: BinaryId): DbRun[F, Long]
def createLO(lom: LargeObjectManager): DbRun[F, Long]
def createTable: DbRun[F, Int]
def delete(id: BinaryId): DbRun[F, Int]
def detectContentType(id: BinaryId, detect: ContentTypeDetect, hint: Hint): DbRun[F, SimpleContentType]
def exists(id: BinaryId): DbRun[[_] =>> OptionT[F, _$15], Unit]
def findOid(id: BinaryId): DbRun[F, Option[Long]]
def insert(id: BinaryId, bytes: Stream[F, Chunk[Byte]]): DbRun[F, Int]
def listAllIds(prefix: Option[String], chunkSize: Int, ds: DataSource): Stream[F, BinaryId]
def loManager: DbRun[F, LargeObjectManager]
def loManagerS: Stream[[_] =>> DbRun[F, _$3], LargeObjectManager]
def loadAll(id: BinaryId, range: ByteRange, chunkSize: Int): DbRun[[_] =>> Stream[F, _$22], Byte]
def loadChunk(id: BinaryId, range: Chunk): DbRun[F, Chunk[Byte]]
def loadChunkByOID(oid: Long, range: Chunk): DbRun[F, Chunk[Byte]]
def openLORead(lom: LargeObjectManager, oid: Long): DbRun[[_] =>> Resource[F, _$9], LargeObject]
def openLOWrite(): DbRun[[_] =>> Resource[F, _$5], LargeObject]
def truncateTable: DbRun[F, Int]