Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
more comment tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
slai committed Mar 28, 2023
1 parent 71858aa commit 8ebcaef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multimap_multikey_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ func (mm *multimapMkT) WithOptions(o Options) MultimapMkTable {
func (mm *multimapMkT) ListOfEqualRelations(fieldsToIndex, ids map[string]interface{}) []Relation {
relations := make([]Relation, 0)

// TODO: support empty values in composite partition keys
// TODO: support empty string values in composite partition keys
for _, field := range mm.fieldsToIndexBy {
if value := fieldsToIndex[field]; value != nil && value != "" {
relation := Eq(field, value)
relations = append(relations, relation)
}
}

// TODO: support empty values in clustering columns
// TODO: support empty string values in clustering columns
for _, field := range mm.idField {
if value := ids[field]; value != nil && value != "" {
relation := Eq(field, value)
Expand Down

0 comments on commit 8ebcaef

Please sign in to comment.