Skip to content

Commit ae8ac30

Browse files
committed
fix: test passed.
1 parent 905c8e5 commit ae8ac30

69 files changed

Lines changed: 207 additions & 3 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/test/java/com/code/advancedsql/MySQLTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public MySQL connect() throws SQLException {
100100
MySQL mySQL = connect();
101101

102102
// Insert
103-
Insert query = mySQL.table("users").insert(new HashMap<>(){{
103+
Insert query = mySQL.table("users").insert(new HashMap<String, Object>(){{
104104
put("first_name", "Denzel");
105105
put("last_name", "Code");
106106
}});
@@ -121,7 +121,7 @@ public MySQL connect() throws SQLException {
121121
MySQL mySQL = connect();
122122

123123
// Update
124-
Update query = mySQL.table("users").update(new HashMap<>(){{
124+
Update query = mySQL.table("users").update(new HashMap<String, Object>(){{
125125
put("token", "Advanced");
126126
}}).where("first_name = ?", "Denzel");
127127
int execute = query.execute();
@@ -180,7 +180,7 @@ public MySQL connect() throws SQLException {
180180
String address = "20 Cooper Square";
181181

182182
// Insert value
183-
table.insert(new HashMap<>(){{
183+
table.insert(new HashMap<String, Object>(){{
184184
put("user_id", 1);
185185
put("address", address);
186186
}}).execute();

target/advancedsql-2.0.0.jar

56.6 KB
Binary file not shown.
2.26 KB
Binary file not shown.
2.88 KB
Binary file not shown.
1.41 KB
Binary file not shown.
2.65 KB
Binary file not shown.
6.96 KB
Binary file not shown.
1.09 KB
Binary file not shown.
810 Bytes
Binary file not shown.
2.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)