1 | db.towns.find( {"sef_url":"memphis-tn"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 4 |
2 | db.events_cache.find( {"_id":"59de76e697c3e374c450a5b5f65504fa"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 0 | 1 |
3 | db.events.count( {"aggregate":[{"$match":{"start":{"$gte":"MongoDate(0.00000000 1756530000)","$lt":"MongoDate(0.00000000 1757134800)"},"town_sef_url":"memphis-tn","tags":{"$in":["festival","fair","rodeo"]}}},{"$group":{"_id":{"title":"$title","venue_name":"$venue_name","city":"$city","state":"$state"}}}]} ) | | 0 | 1 | 5 |
4 | db.events.count( {"aggregate":[{"$geoNear":{"near":[-90.05239868164062,35.14289855957031],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.0017662494953572872,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1756530000)","$lt":"MongoDate(0.00000000 1757394000)"},"tags":{"$in":["festival","fair","rodeo"]}}}},{"$group":{"_id":{"title":"$title","venue_name":"$venue_name","city":"$city","state":"$state"}}}]} ) | | 0 | 0 | 2 |
5 | db.events.count( {"aggregate":[{"$geoNear":{"near":[-90.05239868164062,35.14289855957031],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.0037848203471941865,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1756530000)","$lt":"MongoDate(0.00000000 1757394000)"},"tags":{"$in":["festival","fair","rodeo"]}}}},{"$group":{"_id":{"title":"$title","venue_name":"$venue_name","city":"$city","state":"$state"}}}]} ) | | 0 | 1 | 10 |
6 | db.events.count( {"aggregate":[{"$geoNear":{"near":[-90.05239868164062,35.14289855957031],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.006308033911990311,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1756530000)","$lt":"MongoDate(0.00000000 1757826000)"},"tags":{"$in":["festival","fair","rodeo"]}}}},{"$group":{"_id":{"title":"$title","venue_name":"$venue_name","city":"$city","state":"$state"}}}]} ) | | 0 | 1 | 3 |
7 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-90.05239868164062,35.14289855957031],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1756530000)"},"tags":{"$in":["festival","fair","rodeo"]}}}},{"$sort":{"start":1,"id":1}},{"$group":{"_id":{"title":"$title","venue_name":"$venue_name","city":"$city","state":"$state"},"id":{"$first":"$_id"},"city":{"$first":"$city"},"cvent_id":{"$first":"$cvent_id"},"cvent_status":{"$first":"$cvent_status"},"date_string":{"$first":"$date_string"},"time_string":{"$first":"$time_string"},"distance":{"$first":"$distance"},"end":{"$first":"$end"},"event_id":{"$first":"$event_id"},"featured":{"$first":"$featured"},"geo":{"$first":"$geo"},"group_key":{"$first":"$group_key"},"image_url":{"$first":"$image_url"},"location_string":{"$first":"$location_string"},"repeat_id":{"$first":"$repeat_id"},"search_text":{"$first":"$search_text"},"sef_tail":{"$first":"$sef_tail"},"start":{"$first":"$start"},"state":{"$first":"$state"},"tags":{"$first":"$tags"},"title":{"$first":"$title"},"town_sef_url":{"$first":"$town_sef_url"},"venue_name":{"$first":"$venue_name"},"dates":{"$push":{"start":"$start","date_string":"$date_string","sef_tail":"$sef_tail"}}}},{"$sort":{"start":1,"id":1}},{"$sort":{"start":1,"id":1}},{"$skip":0},{"$limit":15}]}, [] ).sort( {"start":1,"id":1} ).limit( 15 ).skip( 0 ) | | 0 | 1 | 11 |
8 | db.events_cache.count( {"_id":"59de76e697c3e374c450a5b5f65504fa"} ) | | 0 | 0 | 1 |
9 | db.events_cache.count( {"_id":"59de76e697c3e374c450a5b5f65504fa"} ) | | 0 | 0 | 1 |
10 | db.events_cache.insert( {"_id":"59de76e697c3e374c450a5b5f65504fa","data":[{"Event":{"_id":{"title":"Delta Fair And Music Festival","venue_name":"Delta Fair And Music Festival Ground","city":"Memphis","state":"TN"},"id":ObjectId ("68793955384bf9134e033eff"),"city":"Memphis","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Aug 30, 2025 at 11:00am","time_string":"11:00 AM","distance":11.772627160569293,"end":"MongoDate(0.00000000 1756594800)","event_id":75941647,"featured":"","geo":[-89.84449768066406,35.1349983215332],"group_key":"75941647","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Memphis, TN","repeat_id":"","search_text":"Delta Fair And Music Festival, Delta Fair And Music Festival Ground, 7777 Walnut Grove Road, Memphis, annual fair music festival that exciting interactive educational will strive bring communities together with safe wholesome family entertainment while celebrating promoting rich art music history delta schedule childrenrsquobarnyardmechanical bull ridespetting zoopm junior beef heifer show showmanshippm baby miss pageanttiny pageantwee pageantpm breeding showmanshipjunior pageantlittle pageantpreteen pageantrastelli circusyoung jurassic kingdom dinosaur showpm showlady houdiniteen rastelli circuspm lady houdinipm circus click here tickets","sef_tail":"\/event\/delta-fair-and-music-festival-2025-08-30-memphis-tn.html","start":"MongoDate(0.00000000 1756551600)","state":"TN","tags":["seasonal","fair","festival","music-festival","step-outside","august","circus","arts-and-entertainment"],"title":"Delta Fair And Music Festival","town_sef_url":"memphis-tn","venue_name":"Delta Fair And Music Festival Ground","dates":{"1":{"start":"MongoDate(0.00000000 1756638000)","date_string":"Sunday, Aug 31, 2025 at 11:00am","sef_tail":"\/event\/delta-fair-and-music-festival-2025-08-31-memphis-tn.html"},"2":{"start":"MongoDate(0.00000000 1756724400)","date_string":"Monday, Sep 1, 2025 at 11:00am","sef_tail":"\/event\/delta-fair-and-music-festival-2025-09-01-memphis-tn.html"},"3":{"start":"MongoDate(0.00000000 1756828800)","date_string":"Tuesday, Sep 2, 2025 at 4:00pm","sef_tail":"\/event\/delta-fair-and-music-festival-2025-09-02-memphis-tn.html"},"4":{"start":"MongoDate(0.00000000 1756890000)","date_string":"Wednesday, Sep 3, 2025 at 9:00am","sef_tail":"\/event\/delta-fair-and-music-festival-2025-09-03-memphis-tn.html"},"5":{"start":"MongoDate(0.00000000 1757001600)","date_string":"Thursday, Sep 4, 2025 at 4:00pm","sef_tail":"\/event\/delta-fair-and-music-festival-2025-09-04-memphis-tn.html"},"6":{"start":"MongoDate(0.00000000 1757062800)","date_string":"Friday, Sep 5, 2025 at 9:00am","sef_tail":"\/event\/delta-fair-and-music-festival-2025-09-05-memphis-tn.html"},"7":{"start":"MongoDate(0.00000000 1757156400)","date_string":"Saturday, Sep 6, 2025 at 11:00am","sef_tail":"\/event\/delta-fair-and-music-festival-2025-09-06-memphis-tn.html"},"8":{"start":"MongoDate(0.00000000 1757242800)","date_string":"Sunday, Sep 7, 2025 at 11:00am","sef_tail":"\/event\/delta-fair-and-music-festival-2025-09-07-memphis-tn.html"}}}}],"params":"{\"title\":\"Upcoming Festivals and Fairs Near Memphis TN\",\"tags\":{\"$in\":[\"festival\",\"fair\",\"rodeo\"]},\"keyword\":\"\",\"radius\":45,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags_logical\":\"\",\"terms\":\"\",\"show\":15,\"show_limit\":3,\"sort\":\"\",\"days\":365,\"images\":\"yes\",\"max-days\":365,\"max-miles\":45,\"message\":\"\",\"min\":20,\"prompt\":\"\",\"height\":\"\",\"width\":\"\",\"more\":\"yes\",\"autoshowmore\":\"no\",\"link\":\"\",\"showdesc\":\"yes\",\"rankby\":\"distance\",\"type\":\"\",\"ad_slots\":\"\",\"see-more-title\":\"\",\"searchdate\":\"\",\"lat\":35.14289855957031,\"lng\":-90.05239868164062,\"latlng\":\"35.14289855957,-90.052398681641\",\"count\":1}","modified":"MongoDate(0.31900000 1756605459)","created":"MongoDate(0.32000000 1756605459)"} , true) | | 0 | 0 | 2 |
11 | db.articles.find( {"broadcastto":{"$in":["memphis-tn","tn","usa"]},"publish_date":{"$lte":"MongoDate(0.32700000 1756605459)"}}, [] ).sort( {"publish_date":-1} ).limit( 51 ).skip( 0 ) | | 0 | 51 | 4 |