Skip to content

Commit 374cb83

Browse files
authored
Merge pull request #2 from ariflogs/dev
Initial update for select query
2 parents 80dc61d + 7e7130b commit 374cb83

File tree

14 files changed

+432
-80
lines changed

14 files changed

+432
-80
lines changed

.github/workflows/npm-deploy.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
name: Deploy package to NPM
22
on:
3-
push:
4-
branches:
5-
- main
3+
push:
4+
branches:
5+
- main
66
jobs:
7-
deploy:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout
11-
uses: actions/checkout@v4
12-
- name: Setup Node.js
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: 18
16-
registry-url: 'https://registry.npmjs.org'
17-
- name: Install dependencies and build 🔧
18-
run: npm ci && npm run build
19-
- name: Publish package on NPM 📦
20-
run: npm publish
21-
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
- name: Setup Node.js
13+
uses: actions/setup-node@v3
14+
with:
15+
node-version: 18
16+
registry-url: "https://registry.npmjs.org"
17+
- name: Install dependencies and build 🔧
18+
run: npm ci && npm run build
19+
- name: Publish package on NPM 📦
20+
run: npm publish
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.env
22
node_modules
33
build
4-
dist
4+
dist
5+
TODO.md

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
src
2-
test
2+
test
3+
.github
4+
.gitignore

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

README.md

Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,57 @@
11
As the name suggests, **sql-to-nosql** lets you run SQL scripts on your NoSQL database.
22

33
## Status
4+
45
---
5-
The project is under active development and is not yet ready to use in production. I'm aiming to launch *v-1.0* by November 2023 with some of the most common sql operations. 🤞
6+
7+
The project is under active development and is not yet ready to use in production. I'm aiming to launch _v-1.0_ by November 2023 with some of the most common sql operations. 🤞
68

79
### Installation
10+
811
---
12+
913
```bash
1014
npm insall sql-to-nosql
1115
```
1216

1317
### Roadmap
18+
1419
- [ ] Database
15-
- [ ] MongoDB
20+
- [x] MongoDB
1621
- [ ] Commands
17-
- [ ] SELECT
18-
- [ ] INSERT
19-
- [ ] DELETE
20-
- [ ] UPDATE
22+
- [x] SELECT
23+
- [ ] INSERT
24+
- [ ] DELETE
25+
- [ ] UPDATE
2126
- [ ] Clauses
22-
- [ ] WHERE
23-
- [ ] ORDER BY
24-
- [ ] LIMIT
25-
- [ ] OFFSET
26-
- [ ] GROUP BY
27-
- [ ] HAVING
28-
- [ ] JOIN
29-
- [ ] UNION
30-
- [ ] INTERSECT
31-
- [ ] EXCEPT
27+
- [x] WHERE
28+
- [ ] ORDER BY
29+
- [ ] LIMIT
30+
- [ ] OFFSET
31+
- [ ] GROUP BY
32+
- [ ] HAVING
33+
- [ ] JOIN
34+
- [ ] UNION
35+
- [ ] INTERSECT
36+
- [ ] EXCEPT
3237
- [ ] Functions
33-
- [ ] COUNT
34-
- [ ] SUM
35-
- [ ] AVG
36-
- [ ] MIN
37-
- [ ] MAX
38+
- [ ] COUNT
39+
- [ ] SUM
40+
- [ ] AVG
41+
- [ ] MIN
42+
- [ ] MAX
3843
- [ ] Operators
39-
- [ ] =
40-
- [ ] !=
41-
- [ ] >
42-
- [ ] <
43-
- [ ] >=
44-
- [ ] <=
45-
- [ ] AND
46-
- [ ] OR
47-
- [ ] NOT
48-
- [ ] IN
49-
- [ ] BETWEEN
50-
- [ ] LIKE
51-
- [ ] IS NULL
52-
- [ ] IS NOT NULL
53-
54-
55-
44+
- [x] =
45+
- [ ] !=
46+
- [ ] >
47+
- [ ] <
48+
- [ ] > =
49+
- [ ] <=
50+
- [ ] AND
51+
- [ ] OR
52+
- [ ] NOT
53+
- [ ] IN
54+
- [ ] BETWEEN
55+
- [ ] LIKE
56+
- [ ] IS NULL
57+
- [ ] IS NOT NULL

0 commit comments

Comments
 (0)