alechenninger / lightblue.js Goto Github PK
View Code? Open in Web Editor NEWA lightblue HTTP(S) client for Javascript applications.
License: GNU General Public License v3.0
A lightblue HTTP(S) client for Javascript applications.
License: GNU General Public License v3.0
With http branch ( #8 ), there is more going on, and the entry points to and division of modules within the library need to be reassessed.
// single, simple projection
var allFields = include("*").recursively();
// include all except some
// multiple projections use array
var exceptSome = [
include("*").recursively(),
exclude("some")
];
// array projection
var jsonExampleFromDocs = [ { "field": "address", "include": true,
"match": { "city": "Raleigh" }, "project": { "streetaddress": true} } ]
var streetAddressesInRaleigh = include("address")
.where(field(city).equalTo("Raleigh"))
.project(include("streetaddress"));
// alternates:
include("streetaddress").in("address").where(field("city").equalTo("Raleigh"));
in("address").where(field("city").equalTo("Raleigh")).include("streetaddress");
Main question is what does it mean in array projection to "include": false
?
Doesn't build currently: https://travis-ci.org/alechenninger/lightblue.js/jobs/75752683
The library itself probably works fine, but the tests depend on node.js currently.
For instance, when passing a query, should allow:
Basically this would just make it so server-side would not bother with the angular stuff.
Apparently it is not needed anymore
Might be useful to be able to actually test the queries against lightblue, but not sure if it is worth it.
Default to host that served the application
ES6 to ES5 compilers are pretty mature.
Better would be dart's dev_compiler but that sounds like it might be a ways off.
Complete promises with errors as appropriate
Started adding jsdoc throughout, more to do
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.