Documentation ¶
Index ¶
- func LoadCollection(t *testing.T, client *interstellar.DatabaseClient, path string) func()
- func LoadDatabase(t *testing.T, client *interstellar.Client, path string) func()
- func LoadDocuments(t *testing.T, client *interstellar.CollectionClient, path string)
- func LoadDocumentsPartitioned(t *testing.T, client *interstellar.CollectionClient, path string)
- func Mark(t *testing.T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCollection ¶
LoadCollection creates a new collection defined by the file 'col.json' in the given path. Then loads all of the documents in docs.json into the given collection
Returns a function that will delete the collection (for cleanup purposes)
func LoadDatabase ¶
LoadDatabase creates a new database named after the folder pointed at by `path` Then for each sub-directory, calls 'LoadCollection'
Returns a function that will delete the database (for cleanup purposes)
func LoadDocuments ¶
LoadDocuments loads all of the documents in the json file 'path' into the given collection
func LoadDocumentsPartitioned ¶
LoadDocumentsPartitioned loads all of the documents in the json file 'path' into the given collection which have partition keys assigned
Types ¶
This section is empty.