Skip to content

[Feat]: Render columns based on column size instead of only types #48

@robinbertram

Description

@robinbertram

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

We store UUIDv4 AS VARBINARY(36) and this update (#36) broke the table view for me.

Image

This is the same table from TablePlus (and it used to look the same in Tabularis):
Image

Would it be possible to use the length/size of the column to decide how to render the data? If it's smaller than X bytes, then render, like before.

Motivation

Even varchars can be very large, up to 65,535 bytes:

Values in VARCHAR columns are variable-length strings. The length can be specified as a value from 0 to 65,535.
(https://dev.mysql.com/doc/refman/9.3/en/char.html)

So only using the type of column might not be enough anyway?

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions