Skip to content

An example of using MiniQL to make queries against a set of CSV files.

Notifications You must be signed in to change notification settings

miniql/miniql-csv-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniQL - CSV files example

An example of MiniQL - the tiny JSON-based query language inspired by GraphQL.

This example shows how to use miniql and @miniql/csv to run queries against a set of CSV files.

Example Star Wars data is courtesy of Kaggle.

You need Node.js installed to run this example code.

Any problems? Please log an issue on this repo.

Love this? Please star the repo and support my work

Repo contents

/miniql-csv-example
    index.js    -> Example code that runs various queries against the CSV files.
    /data
        ...     -> Various CSV files with data from the Star Wars universe.

Setup

Download a the zip file of this code or use Git to clone this repository.

Open a terminal, change directory to the repo and install dependencies:

cd miniql-csv-example
npm install

Run the code

Open a terminal, change directory to the repo and run the code using Node.js:

cd miniql-csv-example
npm start

A bunch of example queries will run and results are displayed in the terminal.

Please read index.js to see each example query.

Don't forget to star the repo and follow the developer on Twitter.

About

An example of using MiniQL to make queries against a set of CSV files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published