1 | db.towns.find( {"sef_url":"david-ky"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 5 |
2 | db.events_cache.find( {"_id":"534afcdb9569de5810766b59d7d8b0cf"}, [] ).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":"david-ky","tags":{"$in":["festival","fair","rodeo"]}}},{"$group":{"_id":{"title":"$title","venue_name":"$venue_name","city":"$city","state":"$state"}}}]} ) | | 0 | 0 | 2 |
4 | db.events.count( {"aggregate":[{"$geoNear":{"near":[-82.89109802246094,37.599700927734375],"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":[-82.89109802246094,37.599700927734375],"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 | 3 |
6 | db.events.count( {"aggregate":[{"$geoNear":{"near":[-82.89109802246094,37.599700927734375],"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 | 5 |
7 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-82.89109802246094,37.599700927734375],"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 | 17 |
8 | db.events_cache.count( {"_id":"534afcdb9569de5810766b59d7d8b0cf"} ) | | 0 | 0 | 1 |
9 | db.events_cache.count( {"_id":"534afcdb9569de5810766b59d7d8b0cf"} ) | | 0 | 0 | 1 |
10 | db.events_cache.insert( {"_id":"534afcdb9569de5810766b59d7d8b0cf","data":[{"Event":{"_id":{"title":"Alley Fest","venue_name":"Archer Park","city":"Prestonsburg","state":"KY"},"id":ObjectId ("68793954384bf9134e033c55"),"city":"Prestonsburg","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Aug 30, 2025 at 12:00pm","time_string":"12:00 PM","distance":7.386019688223514,"end":"","event_id":75932008,"featured":"","geo":[-82.7849318,37.6655249],"group_key":"75932008","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Prestonsburg, KY","repeat_id":"","search_text":"Alley Fest, Archer Park, 66 Archer Park Road, Prestonsburg, music lineuparcher park stagepm brady robinson amp coal rush bandpm jordan smartnbsppm tyler hoodpm jack marionpm grayson jenkinslate night wicked peacealley fest troy burchettpm rachel baimanpm luke trimblepm abby hamiltonpm noah thompsonpm morning jaysclick here more informationtickets general admissionprice nbspfees saturday click tickets","sef_tail":"\/event\/alley-fest-2025-08-30-prestonsburg-ky.html","start":"MongoDate(0.00000000 1756555200)","state":"KY","tags":["seasonal","step-outside","august","festival","music-festival","live-music","outdoor-music","arts-and-entertainment"],"title":"Alley Fest","town_sef_url":"prestonsburg-ky","venue_name":"Archer Park","dates":{"1":{"start":"MongoDate(0.00000000 1756641600)","date_string":"Sunday, Aug 31, 2025 at 12:00pm","sef_tail":"\/event\/alley-fest-2025-08-31-prestonsburg-ky.html"}}}}],"params":"{\"title\":\"Upcoming Festivals and Fairs Near David KY\",\"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\":37.599700927734375,\"lng\":-82.89109802246094,\"latlng\":\"37.599700927734,-82.891098022461\",\"count\":1}","modified":"MongoDate(0.41000000 1756613439)","created":"MongoDate(0.41000000 1756613439)"} , true) | | 0 | 0 | 2 |
11 | db.articles.find( {"broadcastto":{"$in":["david-ky","ky","usa"]},"publish_date":{"$lte":"MongoDate(0.41500000 1756613439)"}}, [] ).sort( {"publish_date":-1} ).limit( 51 ).skip( 0 ) | | 0 | 51 | 4 |