Coder Social home page Coder Social logo

casper2020 / pg-jsonapi Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 207 KB

JSON API implementation for PostgreSQL using an SPI function

License: GNU Affero General Public License v3.0

C++ 70.61% Makefile 1.11% Smarty 0.03% Ragel 26.01% Ruby 2.24%

pg-jsonapi's People

Contributors

ajdgomes-gh avatar andresilva1993 avatar casper2020 avatar inoce1e avatar joananeves avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pg-jsonapi's Issues

Feature request: please accept_empty_strings

Presently, the "request-accounting-schema-function-arg" and "request-accounting-prefix-function-arg" options can be used to ask jsonapi to map those 2 values to their respective SQL function arguments. That is great and useful and I love it. Perfect :)

But... in that scenario jsonapi will reject the request if any of those 2 strings is empty (like ''). This renders that functionality unusable (and that's a big loss in my opinion) for the cases where those string are naturally empty. That is the case for situations where the user did not select any fiscal year or maybe he does not have the CTB module active.

So: it would be great if an SQL function programmer could simply ask jsonapi to "please, accept_empty_strings, I now what I'm doing".

Put simply: "accept_empty_strings"

This would be just great

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.