# smart-query

> A node package to simplify querying tables for all their data and auto fetching foreign keys

Latest version **0.1.2** (published 2016-01-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install smart-query
pnpm add smart-query
yarn add smart-query
bun add smart-query
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2016-01-24 |
| First published | 2016-01-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Joseph J Garrone |
| Maintainers | josephgarrone |
| Keywords | datatables, mysql, query, tables, generated-sql |

## Links

- npm: https://www.npmjs.com/package/smart-query
- Repository: https://github.com/JosephGarrone/smart-query
- Homepage: https://github.com/JosephGarrone/smart-query#readme
- Issues: https://github.com/JosephGarrone/smart-query/issues
- npm.io page: https://npm.io/package/smart-query

## Dependencies (2)

- [mysql](https://npm.io/package/mysql.md) ^2.10.0
- [promise](https://npm.io/package/promise.md) ^7.1.1

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2016-01-24
- 0.1.1 — 2016-01-11
- 0.1.0 — 2016-01-11

## README

# smart-query
## Installation

Smart query can be installed via:

`npm install smart-query`

## Usage

More examples will be added later, but for the time being the following shows how to use it:

```
var SQuery = require('smart-query');

SQuery.from('table_name').resolve(function(data) {
    console.log(data);
});
```
This will output an array of results from the specified table.

---
_Source: https://npm.io/package/smart-query · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
