Skip to content

Commit 9cf99d8

Browse files
committed
- updated CHANGELOG
- updated README - updated version to 1.2.2
1 parent 9ca5fdf commit 9cf99d8

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Release notes
22

3+
## 1.2.2
4+
- removed unused code
5+
- supressed warnings
6+
- internal cleaning
7+
8+
# 1.2.1
9+
- hotfix: made Query params public
10+
311
## 1.2.0
412
- Added a second method `contentResolver.querySql2(..)` that returns the `contentResolver.query(params)` calculated params
513
instead of cursor

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ The library add an extension function to ContentResolver named
2424
### Limitations
2525
- When using `LIMIT` keyword, you need to specify also `ORDER BY`.<p>
2626
- When using `GROUP BY` keyword, you need to specify also `WHERE`.<p>
27+
- You can use `WHERE 1 GROUP BY` if you haven’t a `WHERE` condition
2728
- `JOIN` are not supported by android content provider itself.
2829

2930
## Getting started
3031
Step 1. Add the JitPack repository to your build file
3132
Add it in your root build.gradle at the end of repositories:
32-
```
33+
```groovy
3334
allprojects {
3435
repositories {
3536
...
@@ -38,8 +39,8 @@ allprojects {
3839
}
3940
```
4041
Step 2. Add the dependency
41-
```
42-
implementation 'com.github.ologe:android-content-resolver-SQL:1.2.1'
42+
```groovy
43+
implementation 'com.github.ologe:android-content-resolver-SQL:1.2.2'
4344
```
4445

4546
## Example 1

library/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
minSdkVersion 16
99
targetSdkVersion 29
1010
// sdk_version, major, minor, patch(1st)beta(2nd)
11-
versionCode 28_1_2_1
12-
versionName "1.2.1"
11+
versionCode 29_1_2_2
12+
versionName "1.2.2"
1313

1414
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1515

0 commit comments

Comments
 (0)