Code Monkey home page Code Monkey logo

stellar's People

Contributors

bschmidt avatar dependabot[bot] avatar gonkers avatar kylesonaty avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

michaeloyer

stellar's Issues

Add support for orderby

docs.Query<TestObject>().OrderBy(x => x.Name)

should generate something like

SELECT * FROM TestObject ORDER BY Name ASC

Add filter for type

When an expression is created automatically append a type filter. Thus allowing us to separate objects of a different type in a collection.

docs.Query<TestObject>()

would turn into

SELECT * FROM TestObject WHERE _type = "Assmebly.Namespace.TestObject"

Handle chained expressions

Handle cases where people enter 2 more where clauses.

docs.Query<TestObject>().Where(x => x.FirstName == "name").Where(x => x.LastName == "name")

Allow projections using select

Allow the query method to be overloaded to return a projection of the document.

docs.Query<TestObject, ProjectedObject>().Select(x => new ProjectedObject(x.Id, x.Name));

Improve SQL Query method in DocumentsManager

Currently we just append sql for the type at the end. Lets actually handle other cases like order by.

sql = sql + " and " + result + "._type = \"" + typeof(T).FullName + "\"";

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.