We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue type:
[ ] question [ ] bug report [x] feature request [ ] documentation issue
Database system/driver:
[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] cockroachdb [x] sqlite [ ] sqljs [ ] react-native [ ] expo
cordova
mongodb
mssql
mysql
mariadb
oracle
postgres
cockroachdb
sqlite
sqljs
react-native
expo
TypeORM version:
[x] latest [ ] @next [ ] 0.x.x (or put your version here)
latest
@next
0.x.x
Typeorm added supports for Sql.js v1.0 #4104 but it needs a new connection option to pass in initConfigs, such as { locateFile: filename => ``/dist/${filename}`` }.
{ locateFile: filename => ``/dist/${filename}`` }
The text was updated successfully, but these errors were encountered:
Hi, I'm using this old sql.js v0.5.0 and don't understand how to change the conection in order to upgrade to 1.0
I'm using the Ionic implementation.
let dbOptions: ConnectionOptions; dbOptions = { type: 'sqljs', location: 'browser', autoSave: true }; Object.assign(dbOptions, { synchronize: true, autoSchemaSync: true, migrationsRun: true, entities: [ tables ] }); return createConnection(dbOptions).then(connection => { console.log("Data Access connected!"); return connection; }).catch(error => { //console.log("Data Access Error : ", ); return null; });
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Issue type:
[ ] question
[ ] bug report
[x] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[ ]
postgres
[ ]
cockroachdb
[x]
sqlite
[ ]
sqljs
[ ]
react-native
[ ]
expo
TypeORM version:
[x]
latest
[ ]
@next
[ ]
0.x.x
(or put your version here)Typeorm added supports for Sql.js v1.0 #4104 but it needs a new connection option to pass in initConfigs, such as
{ locateFile: filename => ``/dist/${filename}`` }
.The text was updated successfully, but these errors were encountered: