Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReQL date/time operations #120

Open
mfenniak opened this issue Aug 18, 2013 · 1 comment
Open

ReQL date/time operations #120

mfenniak opened this issue Aug 18, 2013 · 1 comment

Comments

@mfenniak
Copy link
Owner

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

mfenniak added a commit that referenced this issue Oct 25, 2014
@spiffytech
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants