Linq .Count() support #56

ghost opened this Issue Sep 3, 2012 · 1 comment


None yet
1 participant

ghost commented Sep 3, 2012

It seems that Linq.Count is not supported in FluentCassandra

var cnt = (from u in _db.GetColumnFamily("test") select u).Count();

CassandraColumnFamily+QueryProvider.cs (137) TElement' must inherit from IFluentBaseColumnFamily

nberardi was assigned Sep 3, 2012


nberardi commented Sep 3, 2012

I have been trying to find an elegant way to support this, because this is actually a scalar return value. It is something that I would like to include support for, but it really doesn't fit into the type that is currently returned by IFluentBaseColumn, so we may have to change a few things.

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