Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var query = MongoDB.Driver.Builders.Query.And(
- MongoDB.Driver.Builders.Query.GTE(
- Constants.AnalyticsInteractionsFields.StartDateTime,
- DateTime.Now.AddDays(-dayscount)),
- MongoDB.Driver.Builders.Query.EQ(
- Constants.AnalyticsInteractionsFields.SiteName,
- Sitecore.Context.Site.Name));
- var interactions = driver.Interactions.FindAs<VisitData>(query);`
Add Comment
Please, Sign In to add comment