Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
GO Query! is a javascript library to execute queries into array of objects. You can perorm a SELECT, UPDATE or REMOVE into your array based on the objects and filters
[] (https://travis-ci.org/rubenspgcavalcante/GO-Query) [] (https://badge.fury.io/hooks/github)
##About GO Query! is a javascript library to execute queries into array of objects. You can perorm a SELECT, UPDATE or REMOVE into your array based on the objects and filters.
##Download Latest development version: source file
Latest production version 1.0.2: minified
###Why use it? Sometimes, you just want to search into a array of objects in a simple way, but with more complex filters, avoiding to do a request to the server and wait for server response time and network transfer time.
###Where can I use it? Well, you can use in client-side, but you can use it in server side too (nodejs, commonjs).
###Dependeces? Nope!
###How can I use? Well, let's suppose we have a array of 'users' and need to find all who are older than 20 years or have the first name John and works on company ACME
var query = new GO.Query(objArray);
query = query.select("*")
.from(Object)
.where(
new GO.Filter("age", GO.op.GTE, 21)
.or("name", GO.op.LIKE, /^John/)
.and("company.name", GO.op.EQ, "ACME")
);
var result = query.run();
###Using with Node.js? first intall via npm
npm install goquery
... and import the module
//import
var GO = require("goquery");
//use
var q = new GO.Query(data);
//...
###More details? See the API
#Building If you want to build the sources, you will need first install all dependences and after intall the grunt client globally:
npm install
sudo install -g grunt-cli
To run the tasks:
grunt
##Author
Rubens Pinheiro Gonçalves Cavalcante
email: rubenspgcavalcante@gmail.com
##License & Rights
Using GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 gnu.org
FAQs
GO Query! is a javascript library to execute queries into array of objects. You can perorm a SELECT, UPDATE or REMOVE into your array based on the objects and filters
We found that goquery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.