Skip to content

Commit 6305e33

Browse files
committed
2 parents 8f6682b + 507d6ec commit 6305e33

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

Diff for: README.md

+34-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,39 @@
11
# MySQL-API
22
Simple Java API for MySQL
33

4+
## Installation
5+
6+
### Maven
7+
```XML
8+
<repositories>
9+
<repository>
10+
<id>jitpack.io</id>
11+
<url>https://jitpack.io</url>
12+
</repository>
13+
</repositories>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>com.github.Tallerik</groupId>
18+
<artifactId>MySQL-API</artifactId>
19+
<version>0ae2e72c</version>
20+
</dependency>
21+
</dependencies>
22+
```
23+
24+
### Gradle
25+
```Gradle
26+
allprojects {
27+
repositories {
28+
maven { url 'https://jitpack.io' }
29+
}
30+
}
31+
32+
dependencies {
33+
implementation 'com.github.Tallerik:MySQL-API:0ae2e72c'
34+
}
35+
```
36+
437
## Usage
538

639
### Init
@@ -31,7 +64,7 @@ boolean: isConnected();
3164
boolean: isDebug();
3265
```
3366

34-
### MySQL Data interaction
67+
### MySQL Data interaction
3568
```Java
3669
boolean: sql.tableInsert("myTable", "name, age", "Robert", "32"); // INSERT Statement
3770
boolean: sql.rowUpdate("myTable", new UpdateValue("age", "45"), "name = 'Robert'"); // UPDATE Statement

0 commit comments

Comments
 (0)