Skip to content

Commit 7d06a92

Browse files
committed
Adding help text
1 parent ed54330 commit 7d06a92

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/views/createQuery.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333

3434
</form>
3535

36+
<div class="alert">If you are performing JOINs, avoid doing a `SELECT * FROM ...`. You may have
37+
several columns with the same name in different tables and this might confuse QueryWritter, especially
38+
if you are using the `CountNbResult` class.</div>
39+
40+
3641
<script type="text/javascript">
3742
$(function () { $("input,select,textarea").not("[type=submit]").jqBootstrapValidation(); } );
3843
</script>

src/views/parseSql.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@
2121
</div>
2222
</div>
2323

24-
</form>
24+
</form>
25+
26+
<div class="alert">If you are performing JOINs, avoid doing a `SELECT * FROM ...`. You may have
27+
several columns with the same name in different tables and this might confuse QueryWritter, especially
28+
if you are using the `CountNbResult` class.</div>

0 commit comments

Comments
 (0)