[CSHARP-62] The member TotalDays is not supported. Created: 09/Sep/10 Updated: 19/Oct/16 Resolved: 09/Sep/10 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | zhengliangjun | Assignee: | Steve Wagner |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
vs2008 |
||
| Description |
|
when I debug the statement: table.Remove(m => ((DateTime.Now - m.Createtime).TotalDays) > 14); |
| Comments |
| Comment by Steve Wagner [ 09/Sep/10 ] |
|
MongoDB dose not support this type of querys. To get that work you should remove all between now and now-14 days. |