Class SqlUtils
java.lang.Object
com.xzavier0722.mc.plugin.slimefun4.storage.adapter.sqlcommon.SqlUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildConditionStr(List<io.github.bakedlibs.dough.collections.Pair<FieldKey, String>> conditions) buildFieldStr(Set<FieldKey> fields) static StringbuildKvStr(FieldKey key, String val) execQuery(Connection conn, String sql) static voidexecSql(Connection conn, String sql) static intexecUpdate(Connection conn, String sql) static Stringstatic FieldKeystatic Stringstatic Stringstatic StringtoSqlValStr(FieldKey key, String val)
-
Constructor Details
-
SqlUtils
public SqlUtils()
-
-
Method Details
-
mapTable
-
mapTable
-
mapField
-
mapField
-
buildFieldStr
-
buildConditionStr
-
buildKvStr
-
toSqlValStr
-
execQuery
- Throws:
SQLException
-
execSql
- Throws:
SQLException
-
execUpdate
- Throws:
SQLException
-