0.1.6 • Published 10 years ago

most-data-h2 v0.1.6

Weekly downloads
8
License
BSD-3-Clause
Repository
github
Last release
10 years ago

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.

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago