TablePlus-Windows icon indicating copy to clipboard operation
TablePlus-Windows copied to clipboard

Autocomplete table name messing up query

Open rwhirn opened this issue 10 months ago • 1 comments

Which driver are you using and version of it (Ex: PostgreSQL 10.0): MySQL 5.7.44-log

Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): 310

The steps to reproduce this issue: I have a query opened. I have a view named "purchasedItems" and a table name "purchased_items". The query uses the view and I want to change it to the table. I insert my cursor between the "d" and the "I" and press "_". My table name pops up. I click on it to select and it fills in the name but it backtracks in the query and wipes out the "DISTINCT" keyword before the table name.

Image cursor between "d" and "I"

Image press "_" and the autocomplete name pops up

Image after clicking on it, the keyword "DISTINCT" is partially overwritten by the name

rwhirn avatar Apr 10 '25 21:04 rwhirn

Thank @rwhirn, let me check it.

sonswift avatar Apr 10 '25 23:04 sonswift