stuff
This commit is contained in:
parent
2386ea44a2
commit
695f55dbc2
4 changed files with 154 additions and 240 deletions
|
@ -26,7 +26,7 @@ public class ServHandler implements HttpHandler {
|
|||
PreparedStatement stmt;
|
||||
JSONArray outObject = new JSONArray();
|
||||
try {
|
||||
stmt = cc.prepareStatement("SELECT * FROM main.text ORDER BY date DESC");
|
||||
stmt = cc.prepareStatement("SELECT * FROM main.text ORDER BY date DESC LIMIT 100");
|
||||
ResultSet rs = stmt.executeQuery();
|
||||
while (rs.next()) {
|
||||
JSONObject mainObject = new JSONObject();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue