rethinkdb-net
rethinkdb-net copied to clipboard
ReQL date/time operations
These all look pretty straightforward; most of the "hard" work was adjusting the DateTime and DateTimeOffset datum converters to use the new ReQL pseudotype format.
~~now~~ time epoch_time iso8601 in_timezone timezone during date time_of_day ~~year~~ ~~month~~ ~~day~~ ~~day_of_week~~ ~~day_of_year~~ ~~hours~~ ~~minutes~~ ~~seconds~~ to_iso8601 to_epoch_time
What is the timeline of implementing the date operation? (I'm using the Json.NET serializer)
If it won't be implemented soon, could you please raise a NotImplementedException for it (and the rest of these)? Currently, I get this very unclear / completely unhelpful error message when I try using date:
//conn.Run(Tables.sleeps.Filter(fun sleep -> sleep.date.Date = midnightDate).Nth(0))
System.InvalidOperationException
variable 'sleep' of type 'sleep_log.DomainTypes+Sleep' referenced from scope '', but it is not defined