File tree Expand file tree Collapse file tree 3 files changed +19
-8
lines changed
src/main/java/net/sf/jsqlparser/util/deparser Expand file tree Collapse file tree 3 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,22 @@ Also I would like to know about needed examples or documentation stuff.
3838
3939## Extensions in the latest SNAPSHOT version 0.9.5
4040
41- * support for ** insert ... on duplicate key update**
42- * improved support for ** alter table** statements
43- * first Oracle hint support for ** select** statements
44- * first ** alter table foreign key** support
45- * first ** merge** support
41+ * support for ** ORDER BY** and ** LIMIT** in ** UPDATE** and ** DELETE** statements
42+
43+ ~~~
44+ UPDATE tablename SET ... ORDER BY col;
45+ UPDATE tablename SET ... ORDER BY col LIMIT 10;
46+ UPDATE table1 A SET ... LIMIT 10;
47+ DELETE FROM tablename LIMIT 5;
48+ DELETE FROM tablename ORDER BY col;
49+ DELETE FROM tablename ORDER BY col LIMIT 10;
50+ ~~~
51+
52+ * support for ** INSERT ... ON DUPLICATE KEY UPDATE**
53+ * improved support for ** ALTER TABLE** statements
54+ * first Oracle hint support for ** SELECT** statements
55+ * first ** ALTER TABLE FOREIGN KEY** support
56+ * first ** MERGE** support
4657* first version of escaped single quotes support
4758
4859~~~
Original file line number Diff line number Diff line change 2525
2626public class LimitDeparser {
2727
28- private StringBuilder buffer ;
28+ private final StringBuilder buffer ;
2929
3030 public LimitDeparser (StringBuilder buffer ) {
3131 this .buffer = buffer ;
Original file line number Diff line number Diff line change 3030
3131public class OrderByDeParser {
3232
33- private StringBuilder buffer ;
34- private ExpressionVisitor expressionVisitor ;
33+ private final StringBuilder buffer ;
34+ private final ExpressionVisitor expressionVisitor ;
3535
3636 public OrderByDeParser (ExpressionVisitor expressionVisitor , StringBuilder buffer ) {
3737 this .expressionVisitor = expressionVisitor ;
You can’t perform that action at this time.
0 commit comments