Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some ideas for the database addon #38

Open
ababen1 opened this issue Oct 13, 2021 · 2 comments
Open

some ideas for the database addon #38

ababen1 opened this issue Oct 13, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ababen1
Copy link

ababen1 commented Oct 13, 2021

  1. add a column of type "color" to the database, godot has that built in very nicely
  2. add an option to sort rows by a column (for example if i have a table called "hats" with a column that stores the hats' color and i want to see all the red hats or all the hats of type "rare" etc)
  3. maybe add an option for storing long strings? right now it just stores them as one line, but if i want to store a paragraph for example its hard to read it as one line
    (wasn't sure if this is the right place for posting this so correct me if im wrong)
@Kehom
Copy link
Owner

Kehom commented Oct 13, 2021

Hello there.

add a column of type "color" to the database, godot has that built in very nicely

Oh! Very nice idea! Will work on it!

add an option to sort rows by a column (for example if i have a table called "hats" with a column that stores the hats' color and i want to see all the red hats or all the hats of type "rare" etc)

Well, you can already sort rows by columns. Just right click the relevant column and the sort option should appear in the context menu. I realize I should place a button within the column headers to better help with this. Will see if I can squeeze a little bit more space for it.

Nevertheless, what you actually described is a way to filter out some DB entries and show only what meets the criteria. This specific feature is something that I somewhat placed on a "wish list" to implement later.

maybe add an option for storing long strings? right now it just stores them as one line, but if i want to store a paragraph for example its hard to read it as one line

Multi line strings within cells. I will think what would be the best approach here, if just extend current string type or create one exclusively for it that won't commit the changes on "enter key pressed".

(wasn't sure if this is the right place for posting this so correct me if im wrong)

I don't think there is a "wrong" place for this. Maybe the discussion section could be the "appropriate" location but then, I don't think there is a easy way to track suggestions posted in the section either so... in other words, no worries here!

@Kehom Kehom added the enhancement New feature or request label Oct 13, 2021
@ababen1
Copy link
Author

ababen1 commented Oct 14, 2021

awesome thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants