Skip to content

Commit 5b5c2e7

Browse files
Denzel CodeDenzel Code
authored andcommitted
Documentation added
1 parent 5bb47ed commit 5b5c2e7

File tree

4 files changed

+45
-19
lines changed

4 files changed

+45
-19
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.idea/artifacts/AdvancedSQL_jar.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 21 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/advancedsql/MySQL.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66

77
public class MySQL extends SQL {
88

9+
/**
10+
* Create MySQL connection.
11+
* Do not worry about creating the database, AdvancedSQL takes care of it for you.
12+
* @param host MySQL server host.
13+
* @param port MySQL server port.
14+
* @param username MySQL server username.
15+
* @param password MySQL server password.
16+
* @param database MySQL server database. If not exists AdvancedSQL creates it for you.
17+
* @param attributes MySQL server connection attributes.
18+
* @throws SQLException Exception when something goes wrong.
19+
*/
920
public MySQL(String host, int port, String username, String password, String database, String attributes) throws SQLException {
1021
try {
1122
Class.forName("com.mysql.cj.jdbc.Driver");

0 commit comments

Comments
 (0)