orange-orm 4.4.0-beta.1 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/docs/changelog.md +6 -0
- package/package.json +1 -1
- package/src/client/index.mjs +906 -380
- package/src/table/column/date/tryParseISO.js +6 -8
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ If you value the hard work behind Orange and wish to see it evolve further, cons
|
|
|
40
40
|
## Installation
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
|
|
43
|
+
npm install orange-orm
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
## Example
|
|
@@ -50,7 +50,7 @@ Watch the [tutorial video on YouTube](https://youtu.be/1IwwjPr2lMs)
|
|
|
50
50
|
|
|
51
51
|
Here we choose SQLite.
|
|
52
52
|
```bash
|
|
53
|
-
|
|
53
|
+
npm install sqlite3
|
|
54
54
|
```
|
|
55
55
|
<sub>📄 map.ts</sub>
|
|
56
56
|
```javascript
|
|
@@ -280,7 +280,7 @@ In SQLite, columns with the INTEGER PRIMARY KEY attribute are designed to autoin
|
|
|
280
280
|
|
|
281
281
|
__SQLite__
|
|
282
282
|
```bash
|
|
283
|
-
|
|
283
|
+
npm install sqlite3
|
|
284
284
|
```
|
|
285
285
|
```javascript
|
|
286
286
|
import map from './map';
|
|
@@ -288,7 +288,7 @@ const db = map.sqlite('demo.db');
|
|
|
288
288
|
```
|
|
289
289
|
__With connection pool__
|
|
290
290
|
```bash
|
|
291
|
-
|
|
291
|
+
npm install sqlite3
|
|
292
292
|
```
|
|
293
293
|
```javascript
|
|
294
294
|
import map from './map';
|
|
@@ -331,7 +331,7 @@ const db = map.mysql('mysql://test:test@mysql/test');
|
|
|
331
331
|
|
|
332
332
|
__MS SQL__
|
|
333
333
|
```bash
|
|
334
|
-
|
|
334
|
+
npm install tedious
|
|
335
335
|
```
|
|
336
336
|
```javascript
|
|
337
337
|
import map from './map';
|
|
@@ -353,7 +353,7 @@ const db = map.mssql({
|
|
|
353
353
|
|
|
354
354
|
__PostgreSQL__
|
|
355
355
|
```bash
|
|
356
|
-
|
|
356
|
+
npm install pg
|
|
357
357
|
```
|
|
358
358
|
```javascript
|
|
359
359
|
import map from './map';
|
|
@@ -361,7 +361,7 @@ const db = map.postgres('postgres://postgres:postgres@postgres/postgres');
|
|
|
361
361
|
```
|
|
362
362
|
__Oracle__
|
|
363
363
|
```bash
|
|
364
|
-
|
|
364
|
+
npm install oracledb
|
|
365
365
|
```
|
|
366
366
|
```javascript
|
|
367
367
|
import map from './map';
|
|
@@ -375,7 +375,7 @@ const db = map.oracle({
|
|
|
375
375
|
__SAP Adaptive Server__
|
|
376
376
|
Even though msnodesqlv8 was developed for MS SQL, it also works for SAP ASE as it is ODBC compliant.
|
|
377
377
|
```bash
|
|
378
|
-
|
|
378
|
+
npm install msnodesqlv8
|
|
379
379
|
```
|
|
380
380
|
```javascript
|
|
381
381
|
import { fileURLToPath } from 'url';
|
package/docs/changelog.md
CHANGED