hails-0.11.2.1: Multi-app web platform framework

Safe HaskellUnsafe
LanguageHaskell98

Hails.Database.Query.TCB

Contents

Description

This module exports the trusted types and functions used by Hails.Database.Query when performing database queries.

Synopsis

Labeled cursor

data Cursor Source

A labeled cursor. The cursor is labeled with the join of the database and collection it reads from. The collection policies are "carried" along since they are applied on-demand.

Constructors

CursorTCB 

Fields

curLabel :: DCLabel

Cursor label

curInternal :: Cursor

Internal MongoDB cursor

curProject :: [FieldName]

Projector from query. Used to remove fields after performing query.

curCollection :: Collection

Collection cursor is reading from