Skip to content

Commit

Permalink
wip: Add integration tests for explaining Top Select Node, Select Node,
Browse files Browse the repository at this point in the history
and the Scan Node with their attributes.
  • Loading branch information
shahzadlone committed May 17, 2022
1 parent d1101e1 commit bb8fdb7
Show file tree
Hide file tree
Showing 7 changed files with 1,035 additions and 31 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ multi-build:
start: build
./build/defradb start

.PHONY: dev\:start
dev\:start: build
DEFRA_ENV=dev ./build/defradb start

.PHONY: client\:dump
client\:dump:
./build/defradb client dump
Expand Down
4 changes: 2 additions & 2 deletions client/descriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ func (col CollectionDescription) GetField(name string) (FieldDescription, bool)
return FieldDescription{}, false
}

func (c CollectionDescription) GetPrimaryIndex() IndexDescription {
return c.Indexes[0]
func (col CollectionDescription) GetPrimaryIndex() IndexDescription {
return col.Indexes[0]
}

// IndexDescription describes an Index on a Collection
Expand Down
Loading

0 comments on commit bb8fdb7

Please sign in to comment.