Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kbarbounakis/most-data-h2
MOST Web Framework H2 Data Adapter
https://github.com/kbarbounakis/most-data-h2
Last synced: 1 day ago
JSON representation
MOST Web Framework H2 Data Adapter
- Host: GitHub
- URL: https://github.com/kbarbounakis/most-data-h2
- Owner: kbarbounakis
- License: other
- Created: 2016-05-05T20:20:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-28T09:13:03.000Z (over 7 years ago)
- Last Synced: 2024-11-06T12:06:00.274Z (11 days ago)
- Language: JavaScript
- Size: 1.63 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# most-data-h2
Most Web Framework H2 Data Adapter
##Install
$ npm install most-data-h2
##Usage
Register H2 adapter on app.json as follows:"adapterTypes": [
...
{ "name":"H2 Data Adapter", "invariantName": "h2", "type":"most-data-h2" }
...
],
adapters: [
...
{ "name":"development", "invariantName":"h2", "default":true,
"options": {
"path":"~/h2/test",
"user":"SA",
"password":""
}
},
{ "name":"server", "invariantName":"h2", "default":false,
"options": {
"database":"test",
"host":"localhost",
"port":9090,
"user":"SA",
"password":"",
"pool":100
}
}
...
]If you are intended to use H2 data adapter as the default database adapter set the property "default" to true.