Skip to content

Commit

Permalink
chore: fix comment about tuple store types (#6405)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed May 1, 2020
1 parent 9852b46 commit ee83ae3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/compile/selection/transforms/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ import {TransformCompiler} from './transforms';
export const TUPLE_FIELDS = '_tuple_fields';

/**
* Do the selection tuples hold enumerated or ranged values for a field?
* Ranged values can be left-right inclusive (R) or left-inclusive, right-exclusive (R-LE).
* Whether the selection tuples hold enumerated or ranged values for a field.
*/
export type TupleStoreType = 'E' | 'R' | 'R-RE';
export type TupleStoreType =
// enumerated
| 'E'
// ranged, exclusive, left-right inclusive
| 'R'
// ranged, left-inclusive, right-exclusive
| 'R-RE';

export interface SelectionProjection {
type: TupleStoreType;
Expand Down

0 comments on commit ee83ae3

Please sign in to comment.