
Sets consistency for lightweight transactions (LWT).ĭisplays the Cassandra, CQL, and cqlsh versions, session host details, or tracing session details.Įxecutes a file containing CQL statements.Įnables or disables request tracing for all nodes in the cluster. Switches user accounts without ending the CQL shell session.ĭisplays query results in 100-line chunks. Provides information about the connected Cassandra cluster and objects within the cluster. Starts the CQL shell interactive terminal with specified options.Ĭustomize the CQL shell configuration at start up from a properties file.ĭetermines how many nodes in the replica must respond for the coordinator node to successfully process a non-lightweight transaction during the CQL shell session. Introduction to Cassandra Query LanguageĬassandra Query Language (CQL) is a query language for the Cassandra database.ĬQL provides an API to Cassandra that is simpler than the Thrift API.ĬQL input consists of statements that change data, look up data, store data, or change the way data is stored.ĬQL support functions for transforming one or more column values into a new value.At least point me in the right direction or something. I'm a little bit stuck here so any help guys would be highly appreciated. I actually understand what this means, but how can I pass "data" variable on the view so I can use it? Where(t => t.Status = RecordStatus.Enabled & (t.Name.Contains(word) || t.Description.Contains(word))) IEnumerable article2 = _appContext.Article2 return View("Search", (data, page ? 1, pageSize)) Īrgument 1: cannot convert from '' to Īlso this is an example of one of my querys : public IEnumerable GetByString(string word) Var searchArticle4 = Mapper.Map>(_(search)) Var searchArticle3 = Mapper.Map>(_(search)) Var searchArticle2 = Mapper.Map>(_(search)) Var searchArticle = Mapper.Map>(_(search)) SearchViewModel data = new SearchViewModel() Public IActionResult GetSearchData(string option, string search, int? page, string currentFilter)

Paginated list which I got from microsft : public class PaginatedList : List Let me share some of my code so you guys can understand it better :

Now while following this article I had encountered a problem at the end when I want to pass the data to the view. I've been following a simple article I found at microsoft on how ta add paging to a project in c#.
