mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

Show count for UPDATE #148

Closed bilogic closed 6 years ago

bilogic commented 6 years ago

Issue Type

Prerequisites (For bugfixes)

Description

Show number of lines updated after an UPDATE query is executed. Currently, only something like the following is shown

/*
-- Executed querie(s) at 2017-10-21 18:16:53 took 0.217 s --
------------------------------------------------------------
UPDATE........................
------------------------------------------------------------
*/

Thank you.

Steps to Reproduce (For bugfixes)

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Versions

You can get this information from executing ST: About from Sublime Command Palette.

tkopets commented 6 years ago

This feature is related to specific DB CLI. For example PostgreSQL psql DB CLI is showing this info by default, so I guess you are using MySQL. For MySQL see related issue: #73 It is not enabled by default in SQLTools as enabling verbose mode in MySQL also outputs the commands being executed which would spam the output with executed queries.

bilogic commented 6 years ago

ok got it. thanks!