Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Usage (For advice on how to create a sql query, look here)
MySQL.add(/*id*/, newMySQL(/*hostname*/, /*port*/, /*username*/, /*password*/, /*database*/)); //connect to a mySQLMySQL.disconnect(/*id*/); //disconnects the mySQLMySQL.using(/*id*/, /*autoDisconnect*/); //configure autoDisconnect when program terminatesCachedRowSet cachedRowSet =MySQl.query(/*id*/, /*sql*/); //execute a query an recieve an CachedRowSetMySQL.update(/*id*/, /*sql*/); //execute an updateMySQL.preventSQLInjection(/*id*/, /*parameter*/); //prevents mySQLInjection by adding comments for all ' and `MySQL mySQL =MySQL.getMySQL(/*id*/); //get mySQL for more optionsIf you don't like working with the static methods and the id system, you can also just save your own MySQL object.
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.
We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.
Learn more.
We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.
You can always update your selection by clicking Cookie Preferences at the bottom of the page.
For more information, see our Privacy Statement.
Essential cookies
We use essential cookies to perform essential website functions, e.g. they're used to log you in.
Learn more
Always active
Analytics cookies
We use analytics cookies to understand how you use our websites so we can make them better, e.g. they're used to gather information about the pages you visit and how many clicks you need to accomplish a task.
Learn more