Skip to content

About

Code for loading different data dumps into the IMS API.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

IMS-imports

Code for loading different data dumps into the IMS API.

sql-import.js

Useful for importing School of Math inventory DB dumps to the API. Currently, it works by converting a MySQL database dump to an in-memory SQLite database, then batch-creating the attributes, types, and items needed via the IMS-backend API.

Usage:
./sql-import.js <ANSI SQL dump> <IMS endpoint>

The SQL dump must have been created using the following mysqldump flags:
mysqldump --skip-extended-insert --compact [other options]... DB_name > dump.sql

About

Code for loading different data dumps into the IMS API.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages