Skip to content

Commit 1292f9a

Browse files
authored
Merge pull request #29 from ZorTik/ZorTik-patch-1
Update README.md
2 parents aff44bc + 9c6bc6d commit 1292f9a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can add AdvancedSQLClient to your build path using Maven or Gradle. You can
2121

2222
<a href="https://github.com/ZorTik/AdvancedSQLClient/wiki">Installation & Usage on Wiki</a>
2323

24-
## Example
24+
## Examples
2525
```java
2626
@Table("users")
2727
public interface UserRepository {
@@ -40,6 +40,12 @@ if (repository.save(new User("User1")).isSuccessful()) {
4040

4141
// TIP: We support query builders too! Check wiki section.
4242
```
43+
```java
44+
QueryResult result = connection.insert()
45+
.into("users", "firstname", "lastname")
46+
.values("John", "Doe")
47+
.execute();
48+
```
4349

4450
## Code of Conduct
4551
This repository contains some basic rules specified in Code of Conduct file.<br>

0 commit comments

Comments
 (0)