8 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-96.14009857177734,28.88680076599121],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1756530000)"}}}},{"$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 | 4 | 15 |
11 | db.events_cache.insert( {"_id":"3d5aa6e0f4d8fc4a98bfd83eb556f458","data":[{"Event":{"_id":{"title":"Ducks Unlimited - 55th Annual Rice Belt Dinner presented by Capital Farm Credit ","venue_name":"","city":"El Campo","state":"TX"},"id":ObjectId ("687942b47db01079a505e561"),"city":"El Campo","cvent_id":null,"cvent_status":null,"date_string":"Thursday, Sep 25, 2025 at 5:30pm","time_string":null,"distance":24.59750390962716,"end":"","event_id":null,"featured":"","geo":[-96.2853478,29.2189646],"group_key":null,"image_url":"https:\/\/cdn-step.americantowns.com\/img\/ducks.png","location_string":"El Campo Civic Center","repeat_id":null,"search_text":"Ducks Unlimited - 55th Annual Rice Belt Dinner presented by Capital Farm Credit El Campo Civic Center","sef_tail":"\/du-event\/55th-annual-rice-belt-dinner-presented-by-capital-farm-credit-107094.html","start":"MongoDate(0.00000000 1758821400)","state":"TX","tags":["ducks"],"title":"Ducks Unlimited - 55th Annual Rice Belt Dinner presented by Capital Farm Credit ","town_sef_url":"el-campo-tx","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Ducks Unlimited - Rice Belt Polaris Raffle presented by Cavender Auto Country Polaris ","venue_name":"","city":"El Campo","state":"TX"},"id":ObjectId ("687942b67db01079a505e565"),"city":"El Campo","cvent_id":null,"cvent_status":null,"date_string":"Thursday, Sep 25, 2025 at 9:00pm","time_string":null,"distance":24.59750390962716,"end":"","event_id":null,"featured":"","geo":[-96.2853478,29.2189646],"group_key":null,"image_url":"https:\/\/cdn-step.americantowns.com\/img\/ducks.png","location_string":"El Campo Civic Center ","repeat_id":null,"search_text":"Ducks Unlimited - Rice Belt Polaris Raffle presented by Cavender Auto Country Polaris El Campo Civic Center ","sef_tail":"\/du-event\/rice-belt-polaris-raffle-presented-by-cavender-auto-country-polaris-107095.html","start":"MongoDate(0.00000000 1758834000)","state":"TX","tags":["ducks"],"title":"Ducks Unlimited - Rice Belt Polaris Raffle presented by Cavender Auto Country Polaris ","town_sef_url":"el-campo-tx","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Ducks Unlimited - East Wharton County Banquet - Hungerford","venue_name":"","city":"Hungerford","state":"TX"},"id":ObjectId ("687942b67db01079a505e567"),"city":"Hungerford","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Sep 30, 2025 at 6:00pm","time_string":null,"distance":35.762740062362916,"end":"","event_id":null,"featured":"","geo":[-96.07410709999999,29.4005982],"group_key":null,"image_url":"https:\/\/cdn-step.americantowns.com\/img\/ducks.png","location_string":"Hungerford Hall","repeat_id":null,"search_text":"Ducks Unlimited - East Wharton County Banquet - Hungerford Hungerford Hall","sef_tail":"\/du-event\/east-wharton-county-banquet-hungerford-102466.html","start":"MongoDate(0.00000000 1759255200)","state":"TX","tags":["ducks"],"title":"Ducks Unlimited - East Wharton County Banquet - Hungerford","town_sef_url":"hungerford-tx","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Ducks Unlimited - Calhoun County Banquet - Port Lavaca","venue_name":"","city":"Port Lavaca","state":"TX"},"id":ObjectId ("687942bc7db01079a505e577"),"city":"Port Lavaca","cvent_id":null,"cvent_status":null,"date_string":"Thursday, Oct 9, 2025 at 5:30pm","time_string":null,"distance":33.73365150724174,"end":"","event_id":null,"featured":"","geo":[-96.6174904,28.6364022],"group_key":null,"image_url":"https:\/\/cdn-step.americantowns.com\/img\/ducks.png","location_string":"Bauer Community Center","repeat_id":null,"search_text":"Ducks Unlimited - Calhoun County Banquet - Port Lavaca Bauer Community Center","sef_tail":"\/du-event\/calhoun-county-banquet-port-lavaca-107112.html","start":"MongoDate(0.00000000 1760031000)","state":"TX","tags":["ducks"],"title":"Ducks Unlimited - Calhoun County Banquet - Port Lavaca","town_sef_url":"port-lavaca-tx","venue_name":"","dates":[]}}],"params":"{\"title\":\"Events Near Elmaton TX\",\"keyword\":\"\",\"radius\":45,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags\":\"\",\"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\":28.88680076599121,\"lng\":-96.14009857177734,\"latlng\":\"28.886800765991,-96.140098571777\",\"count\":0}","modified":"MongoDate(0.60300000 1756608876)","created":"MongoDate(0.60300000 1756608876)"} , true) | | 0 | 0 | 2 |