Skip to content

Commit fba3951

Browse files
committed
1.0.0
1 parent 7a80e2f commit fba3951

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Sqlite ORM for deno. Tables with relations are not supported.
33
#### Usage
44
**Create an instance of the ORM:**
55
```typescript
6-
import { SqliteOrm, SqlTable } from 'https://deno.land/x/deno_sqlite_orm@0.5.2/mod.ts';
6+
import { SqliteOrm, SqlTable } from 'https://deno.land/x/deno_sqlite_orm@1.0.0/mod.ts';
77
const orm = new SqliteOrm({
88
dbPath: 'path/to/database.db'
99
});
@@ -126,7 +126,7 @@ orm.aggregateSelect<[foo: string, count: number]>(Foo, {
126126
Objects are converted to JSON before saving, and parsed when read. If its a class instance then the class should be registered
127127
by `@registerJsonSerializable()`
128128
```typescript
129-
import { registerJsonSerializable } from 'https://deno.land/x/deno_sqlite_orm@0.5.2/mod.ts';
129+
import { registerJsonSerializable } from 'https://deno.land/x/deno_sqlite_orm@1.0.0/mod.ts';
130130

131131
// the property "ignored" will be ignored and not saved
132132
@registerJsonSerializable(['ignored'])
@@ -145,7 +145,7 @@ class Foo extends SqlTable {
145145
146146
##### Example
147147
```typescript
148-
import { SqliteOrm, SqlTable } from 'https://deno.land/x/deno_sqlite_orm@0.5.2/mod.ts';
148+
import { SqliteOrm, SqlTable } from 'https://deno.land/x/deno_sqlite_orm@1.0.0/mod.ts';
149149
const orm = new SqliteOrm({
150150
dbPath: 'path/to/database.db',
151151
});

0 commit comments

Comments
 (0)