0.1.16 • Published 7 years ago

most-data-sqlite v0.1.16

Weekly downloads
1
License
BSD3-Clause
Repository
github
Last release
7 years ago

most-data-sqlite

MOST Web Framework SQLite Adapter

##Install

$ npm install most-data-sqlite

##Usage

Register SQLite adapter on app.json as follows:

"adapterTypes": [
    ...
      { "name":"SQLite Data Adapter", "invariantName": "sqlite", "type":"most-data-sqlite" }
    ...
    ],
adapters: [
    ...
    { 
        "name":"local-db", "invariantName":"sqlite", "default":true,
        "options": {
            database:"db/local.db"
        }
    }
    ...
]

}

If you are intended to use SQLite adapter as the default database adapter set the property "default" to true.

####Post Installation Note: SQLite Data Adapter comes with a regular expression extension for SQLite (regexp.c). You have to compile this extension as follows:

#####Using GCC/MinGW on Windows and Linux gcc -shared -fPIC -Isqlite3 -o regexp.0.dylib regexp.c

#####Using GCC on Mac OSX gcc -dynamiclib -fPIC -Isqlite3 -o regexp.0.dylib regexp.c

#####Microsoft Tools on Windows cl /Gd regexp.c /I sqlite3 /DDLL /LD /link /export:sqlite3_extension_init /out:regexp.0.dylib

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago