• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kostafey / ejc-sql / 34060604230
38%

Build:
DEFAULT BRANCH: master
Ran 06 Sep 2026 09:19PM UTC
Jobs 2
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Sep 2026 09:17PM UTC coverage: 39.1% (-1.1%) from 40.226%
34060604230

push

github

kostafey
Show the ElDoc templates for INSERT, UPDATE, DELETE and ALTER

Only `SELECT', `FROM' and `WHERE' were documented, and `WHERE' means
different things in a `SELECT' and in an `UPDATE' expression, so make
`ejc-sql-expressions' an alist of the statements, each holding a plist of
its own clauses.  Add `INSERT', `UPDATE', `DELETE' and `ALTER' statements
and complete the `SELECT' one with `JOIN', `ON', `GROUP BY', `HAVING' and
`ORDER BY' clauses.

Look up the clause by scanning the SQL expression backwards for the
nearest known clause keyword and then for the statement it belongs to,
instead of taking the word right before the point.  Hence the template is
shown for the whole clause body, not for the clause keyword only, the
subqueries and the `WITH ... SELECT' expressions are handled, and the
statements with no template, like `DROP TABLE', show nothing.

The keys are upcased before the lookup, otherwise the lowercase SQL got
no ElDoc at all, since `ejc-plist-get' compares the keys with `equal'.

Split `ejc-eldoc-function' into the stored procedure and the SQL
expression parts: the expression template was not shown inside the
parens, e.g. in `insert into table (#', because the stored procedure
branch returned nil for anything which is not a procedure.

0 of 40 new or added lines in 1 file covered. (0.0%)

391 of 1000 relevant lines covered (39.1%)

4.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
40
0.0
0.0% ejc-eldoc.el
Jobs
ID Job ID Ran Files Coverage
1 emacs-snapshot - 34060604230.1 06 Sep 2026 09:19PM UTC 11
39.1
GitHub Action Run
2 emacs-30.2 - 34060604230.2 06 Sep 2026 09:19PM UTC 11
39.1
GitHub Action Run
Source Files on build 34060604230
  • Tree
  • List 11
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a96ee3f0 on github
  • Prev Build on master (#34008065912)
  • Next Build on master (#34061523397)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc