Skip to content

Commit

Permalink
Some doc strings
Browse files Browse the repository at this point in the history
...
  • Loading branch information
helje5 committed Dec 22, 2024
1 parent 66cadff commit e76f8e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Sources/ZeeQL/Access/Entity.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public protocol Entity: AnyObject, EquatableType, SmartDescription {
var attributes : [ Attribute ] { get }
var relationships : [ Relationship ] { get }
var primaryKeyAttributeNames : [ String ]? { get }

// TBD: ^^^ should those be non-optional? (hh 2024-12-21)

/**
* Returns the names of class property attributes and relationships. Those are
* attributes which are exposed as a part of the database object.
Expand Down
5 changes: 4 additions & 1 deletion Sources/ZeeQL/Control/ComparisonOperation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ public enum ComparisonOperation: Equatable {
case Unknown(String)

case EqualTo, NotEqualTo, GreaterThan, GreaterThanOrEqual
case LessThan, LessThanOrEqual, Contains
case LessThan, LessThanOrEqual

// An `IN` query, e.g. `id IN %@`, where the %@ resolves to a collection.
case Contains

/**
* Compare the left hand side against a pattern. The `*` is used as the
Expand Down

0 comments on commit e76f8e8

Please sign in to comment.