Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployCollection ¶
DeployCollection imports a single collection into MongoDB
func DiscoverCollections ¶
func DiscoverCollections(dataDir string) (map[string]Collection, error)
DiscoverCollections scans the data directory and auto-discovers JSON files
Types ¶
type Collection ¶
type Collection struct {
Name string // Collection name (derived from filename)
File string // Full path to JSON file
IsArray bool // Auto-detected by inspecting file
}
Collection represents a discovered MongoDB collection
Click to show internal directories.
Click to hide internal directories.