Giter Site home page Giter Site logo

query-builder's People

Contributors

thorsten-de avatar

Stargazers

 avatar

Watchers

 avatar

query-builder's Issues

Implement FROM and JOIN clauses

FROM and JOIN clauses are implemented with the following features:

Required:

  • tables
  • table alias
  • join types (INNER, LEFT, RIGHT, FULL, CROSS)
  • join conditions

Nice to have

  • Subqueries and derived tables

Improve condition operators

Right now, there are only equality operators supported. In this issue, these topics are addressed:

  • Combine sequences of AND/OR Conditions without parenthesis: This is harder than initially thought
  • Complete comparison operators: expression {>, >=, <, <=} expression
  • string_expression LIKE string_expression
  • expression BETWEEN expression AND expression
  • expression IS NULL
  • expression IN ( expression+)

Note that IN doesn't support subquerys so far, as EXISTS is further down the roadmap.

Define solution and projects

In the first step, the .NET solution and following projects are defined:

  • QueryBuilder: Core project to define a public api for query builders. In the first iterations, this will be a console application in order to evaluate the syntax easily.
  • QueryBuilderTests: Unit tests for QueryBuilder using the XUnit test framework.

Specify columns in select list

Columns should be specified for select. Some features that are considered:

Required:

  • * and table.* columns
  • colums that map to table attributes
  • aliasing columns

Nice to have:

  • defining columns using expressions
  • using functions to extend expressions

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.