Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sinyu890807 committed Apr 21, 2016
1 parent e3eec93 commit 2dc5caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ But there are some upgrading conditions that LitePal can't handle and all data i
Be careful of the above conditions which will cause losing data.

#### 3. Save data
The saving API is quite object oriented. Each model which inherits from **DataSupport** would have the **save()** method directly.
The saving API is quite object oriented. Each model which inherits from **DataSupport** would have the **save()** method for free:
``` java
Album album = new Album();
album.setName("album");
Expand Down Expand Up @@ -288,7 +288,7 @@ Find all records from song table:
``` java
List<Song> allSongs = DataSupport.findAll(Song.class);
```
Constructing complex query with cluster query:
Constructing complex query with fluent query:
``` java
List<Song> songs = DataSupport.where("name like ?", "song%").order("duration").find(Song.class);
```
Expand Down

0 comments on commit 2dc5caf

Please sign in to comment.