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

auto-input columns names for new fields #2

Open
Bin-Huang opened this issue Jul 30, 2020 · 4 comments
Open

auto-input columns names for new fields #2

Bin-Huang opened this issue Jul 30, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@Bin-Huang
Copy link

New fields are often be needed during development. It would be more convenient if it can auto-input the column name for the new field.

Any ideas or just let me try to implement it?

@joway
Copy link
Owner

joway commented Jul 30, 2020

It already implements the schema discovery: https://github.com/joway/sheetsql/blob/master/src/storage.ts#L215

@Bin-Huang
Copy link
Author

Is it works if I just insert data with new fields outside of the existed schema?

@joway
Copy link
Owner

joway commented Jul 30, 2020

no, you should define the schema in the sheet first.

@joway joway added the enhancement New feature or request label Jul 30, 2020
@joway
Copy link
Owner

joway commented Jul 30, 2020

But I think it's a good idea to create the new column name automatically. I list it in TODOs. Thanks for your advice :)

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