Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// C7.1 - Create indexes on detections collection
db = db.getSiblingDB("EchoNet");

db.detections.createIndex(
{ timestamp: -1, species: 1 },
{ name: "idx_timestamp_species" }
);

print("Index idx_timestamp_species created successfully.");
Loading