implemented editing of list credentials for admin/owner, fixed bug:
if login fails due to wrong auth, it is no longer repeated. instead, the list is disabeld
This commit is contained in:
@@ -183,6 +183,11 @@ public class Database {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void run() throws SQLException {
|
||||
compile().run();
|
||||
}
|
||||
|
||||
/**
|
||||
* set single value for a certain key
|
||||
* @param key
|
||||
@@ -194,6 +199,11 @@ public class Database {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Request sort(String field) {
|
||||
sortFields.add(field);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* get the current (i.e. non-final) sql
|
||||
* @return
|
||||
@@ -251,11 +261,6 @@ public class Database {
|
||||
list.add(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Request sort(String field) {
|
||||
sortFields.add(field);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Database(Connection connection) {
|
||||
|
||||
Reference in New Issue
Block a user