@mediaurl/sql-cache

2.3.1 • Public • Published

MediaURL MongoDB caching engine

You can find the caching documentation here.

Testing

# Start postgres and mysql
docker run -d --name sql-cache-test-postgres -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:alpine
docker run -d --name sql-cache-test-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=pass mysql:5

# Test
TEST_URL_1=postgres://postgres@localhost/postgres TEST_URL_2=mysql://root:pass@localhost/mysql npm run test

# Cleanup
docker rm -f sql-cache-test-{postgres,mysql}

Readme

Keywords

none

Package Sidebar

Install

npm i @mediaurl/sql-cache

Weekly Downloads

1

Version

2.3.1

License

none

Unpacked Size

12.1 kB

Total Files

11

Last publish

Collaborators

  • mediaurl1