Skip to content

Commit

Permalink
Remove db data after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brombal committed Jan 19, 2024
1 parent 8d19a0b commit 994df0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
sleep 5
- name: Run Tests
run: npm test
run: npm test && rm -rf ./data

- name: Coveralls
uses: coverallsapp/github-action@v2
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ There are a number of existing libraries that provide similar functionality to S
SqlTags because they all lacked some key feature or had a less-than-ideal API. Here are some
comparisons with other popular libraries:

- **Postgres [https://www.npmjs.com/package/postgres]**
- **Postgres `https://www.npmjs.com/package/postgres`**

- This excellent library was the main inspiration for SqlTags, but it only supports Postgres.
- Personally, I found it confusing to have so many different ways to call the `sql()` function.
SqlTags is more explicit with the features, using separate methods such as `sql.id()`,
`sql.join()`, etc.

- **SQL Template Strings [https://npmjs.com/package/sql-template-strings]**
- **SQL Tag [https://npmjs.com/package/sql-tag]**
- **SQL Template Tag [https://npmjs.com/package/sql-template-tag]**
- **pg-template-tag [https://www.npmjs.com/package/pg-template-tag]**
- **SQL Template Strings `https://npmjs.com/package/sql-template-strings`**
- **SQL Tag `https://npmjs.com/package/sql-tag`**
- **SQL Template Tag `https://npmjs.com/package/sql-template-tag`**
- **pg-template-tag `https://www.npmjs.com/package/pg-template-tag`**
- All these options have a more verbose API/syntax, requiring you to pass the result of the tag to
a database driver function to execute the query.
- Few or no utilities for building common SQL expressions or escaping identifiers.
Expand Down

0 comments on commit 994df0e

Please sign in to comment.