Skip to content

Commit fa7b7aa

Browse files
committed
Update readme
1 parent 001ad91 commit fa7b7aa

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Kotlin code for the library.
1212

1313
[![Build status](https://build.appcenter.ms/v0.1/apps/bcadf5aa-f568-43fe-8c85-3dbd47e4f680/branches/master/badge)](https://appcenter.ms)
1414

15-
## [SQLiterUser](SQLiterUser)
15+
## [SQLager](SQLager)
1616

17-
SQLiter is a lower level library. SQLiterUser is intended for simpler user access.
17+
SQLiter is a lower level library. You can do dangerous things. SQLager lets you kick back and relax.

SQLager/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# SQLiter User Library
1+
# SQLager User Library
22

33
A simple and reasonably safe sqlite library. The design goal is to make a simple library that manages
4-
access to sqlite and keep the lifecycle in check. Where the base SQLiter library is intended for
4+
access to sqlite and keep the lifecycle in check. Where the base SQLiter library is intended for
55
other libraries to use and gives pretty direct access to the sqlite C API, this library intends to
66
be the opposite.
77

8-
The basic design is that the library doesn't let you hold onto sqlite resources. Most interaction
8+
The basic design is that the library doesn't let you hold onto sqlite resources. Most interaction
99
is through lambda functions.
1010

1111
## Usage
1212

1313
Access to sqlite is provided by a [Database](src/commonMain/kotlin/co/touchlab/sqliter/user/Database.kt)
14-
instance. You initialize a Database by passing a SQLiter DatabaseManager. You can use other
14+
instance. You initialize a Database by passing a SQLiter DatabaseManager. You can use other
1515
libraries and this library together with the same DatabaseManager.
1616

17-
As with other sqlite libraries, you can close the Database instance, or hold onto it for the
17+
As with other sqlite libraries, you can close the Database instance, or hold onto it for the
1818
duration of the process.
1919

2020
Database objects give you [DatabaseInstance](src/commonMain/kotlin/co/touchlab/sqliter/user/DatabaseInstance.kt).
2121
This is where you call database interaction methods.
2222

23-
There are 4 basic interactions with sqlite. Insert, Update/Delete, Execute, and Select. If
24-
parameters need binding, you do that by way of a lambda. The 'this' for the lambda is a
23+
There are 4 basic interactions with sqlite. Insert, Update/Delete, Execute, and Select. If
24+
parameters need binding, you do that by way of a lambda. The 'this' for the lambda is a
2525
[Binder](src/commonMain/kotlin/co/touchlab/sqliter/user/Binder.kt) instance.
2626

2727
```kotlin
@@ -31,8 +31,8 @@ instance.insert("insert into test(num, str)values(?,?)"){
3131
}
3232
```
3333

34-
The binding types are null, long, string, double, and bytes (AKA BLOB). You can bind by number or
35-
string index. You can also omit the index and the library will count and automatically index
34+
The binding types are null, long, string, double, and bytes (AKA BLOB). You can bind by number or
35+
string index. You can also omit the index and the library will count and automatically index
3636
parameters (mixing auto and explicit numeric will probably not end well, however).
3737

3838
Selects do not return a result set. This is to avoid leaking sqlite statements.
@@ -64,4 +64,4 @@ instance.transaction {
6464
}
6565
}
6666
}
67-
```
67+
```

0 commit comments

Comments
 (0)