Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- (.==.) :: FieldType a => Field a -> a -> SearchExpression
- (./=.) :: FieldType a => Field a -> a -> SearchExpression
- (.<.) :: FieldType a => Field a -> a -> SearchExpression
- (.<=.) :: FieldType a => Field a -> a -> SearchExpression
- (.>.) :: FieldType a => Field a -> a -> SearchExpression
- (.>=.) :: FieldType a => Field a -> a -> SearchExpression
- (.=~.) :: FieldType a => Field a -> a -> SearchExpression
- (./=~.) :: FieldType a => Field a -> a -> SearchExpression
- equalsAny :: FieldType a => Field a -> [a] -> SearchExpression
- contains :: Field Text -> Text -> SearchExpression
- containsCase :: Field Text -> Text -> SearchExpression
- containsAny :: Field Text -> [Text] -> SearchExpression
- containsAll :: Field Text -> [Text] -> SearchExpression
- changedBefore :: FieldType a => Field a -> UTCTime -> SearchExpression
- changedAfter :: FieldType a => Field a -> UTCTime -> SearchExpression
- changedFrom :: FieldType a => Field a -> a -> SearchExpression
- changedTo :: FieldType a => Field a -> a -> SearchExpression
- changedBy :: FieldType a => Field a -> UserEmail -> SearchExpression
- contentMatches :: Text -> SearchExpression
- isEmpty :: FieldType a => Field a -> SearchExpression
- (.&&.) :: SearchExpression -> SearchExpression -> SearchExpression
- (.||.) :: SearchExpression -> SearchExpression -> SearchExpression
- not' :: SearchExpression -> SearchExpression
- data Field a where
- AliasField :: Field [Text]
- AssignedToField :: Field UserEmail
- AttachmentCreatorField :: Field UserEmail
- AttachmentDataField :: Field Text
- AttachmentDescriptionField :: Field Text
- AttachmentFilenameField :: Field Text
- AttachmentIsObsoleteField :: Field Bool
- AttachmentIsPatchField :: Field Bool
- AttachmentIsPrivateField :: Field Bool
- AttachmentMimetypeField :: Field Text
- BlocksField :: Field Int
- BugIdField :: Field Int
- CcField :: Field UserEmail
- CcListAccessibleField :: Field Bool
- ClassificationField :: Field Text
- CommentField :: Field Text
- CommentIsPrivateField :: Field Text
- CommentTagsField :: Field Text
- CommenterField :: Field UserEmail
- ComponentField :: Field [Text]
- ContentField :: Field Text
- CreationDateField :: Field UTCTime
- DaysElapsedField :: Field Int
- DependsOnField :: Field Int
- EverConfirmedField :: Field Bool
- FlagRequesteeField :: Field UserEmail
- FlagSetterField :: Field UserEmail
- FlagsField :: Field Text
- GroupField :: Field Text
- KeywordsField :: Field [Text]
- ChangedField :: Field UTCTime
- CommentCountField :: Field Int
- OperatingSystemField :: Field Text
- HardwareField :: Field Text
- PriorityField :: Field Text
- ProductField :: Field Text
- QaContactField :: Field UserEmail
- ReporterField :: Field UserEmail
- ReporterAccessibleField :: Field Bool
- ResolutionField :: Field Text
- RestrictCommentsField :: Field Bool
- SeeAlsoField :: Field Text
- SeverityField :: Field Text
- StatusField :: Field Text
- WhiteboardField :: Field Text
- SummaryField :: Field Text
- TagsField :: Field Text
- TargetMilestoneField :: Field Text
- TimeSinceAssigneeTouchedField :: Field Int
- BugURLField :: Field Text
- VersionField :: Field Text
- VotesField :: Field Text
- CustomField :: Text -> Field Text
- data SearchExpression
- evalSearchExpr :: SearchExpression -> [QueryPart]
Search operators
(.==.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #
(./=.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #
(.<.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #
(.<=.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #
(.>.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #
(.>=.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #
(.=~.) :: FieldType a => Field a -> a -> SearchExpression Source #
(./=~.) :: FieldType a => Field a -> a -> SearchExpression Source #
equalsAny :: FieldType a => Field a -> [a] -> SearchExpression Source #
contains :: Field Text -> Text -> SearchExpression Source #
containsCase :: Field Text -> Text -> SearchExpression Source #
containsAny :: Field Text -> [Text] -> SearchExpression Source #
containsAll :: Field Text -> [Text] -> SearchExpression Source #
changedBefore :: FieldType a => Field a -> UTCTime -> SearchExpression Source #
changedAfter :: FieldType a => Field a -> UTCTime -> SearchExpression Source #
changedFrom :: FieldType a => Field a -> a -> SearchExpression Source #
changedTo :: FieldType a => Field a -> a -> SearchExpression Source #
contentMatches :: Text -> SearchExpression Source #
isEmpty :: FieldType a => Field a -> SearchExpression Source #
(.&&.) :: SearchExpression -> SearchExpression -> SearchExpression infixr 3 Source #
(.||.) :: SearchExpression -> SearchExpression -> SearchExpression infixr 2 Source #
Search expressions
A field which you can search by using searchBugs
or track
changes to using getHistory
. To get a human-readable name for
a field, use fieldName
.
Instances
data SearchExpression Source #
A Boolean expression which can be used to query Bugzilla.
evalSearchExpr :: SearchExpression -> [QueryPart] Source #