You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using localstorage, AUTO_INCREMENT doesn't seem to function, as though without specifying a storage method it does work, is this intended behaviour or am I implementing it incorrect?
okay, glad I did report it then, will improve alasql a tiny bit then :)
Really appreciate all the work that has gone into this GREAT project, thumbs up!
Sorry my short answer from a phone. Yes it will be solved - it's an error - but can't tell you when. In this moment we are transforming the code base to ES6. It depends on when people like @agershun take the time to get into the nitty gritty...
Okay, I understand the problem.
But do you have a slight idea when this (kind of basic) functionality will be added/fixed then?
In - like - a month or more likely 6 months or a year?
You've all done a great job with this library and for future projects I'd be happy to know if it's actively maintained, or if it's just a more or less finished project?
Wish I could be of some help on the subject, but my Javascript skills are far from suited for these kind of projects.
Good luck with the codebase rewrite, a huge job, I guess..
Thanks, I'll wait till someone will pick up the issue.
In the mean time I'll stick to a custom workaround which auto-increments at every INSERT statement
Thanks, I'll wait till someone will pick up the issue.
In the mean time I'll stick to a custom workaround which auto-increments at every INSERT statement
—
Reply to this email directly or view it on GitHub.
Is there any progress on this issue?
It's not working in on W10, FF45 with AlaSQL v0.2.5 and local storage.
[edit]
checked out the local storage property in the DOM. The table definition seems correct:
It looks sufficient to increment ident.value in LS.restoreTable. We can obtain the value of the step using ident.step, so the solution should look something like:
for (var columnid in tb.identities) {
var ident = tb.identities[columnid];
for (var index in value) {
value[index][columnid] = ident.value;
ident.value += ident.step;
}
}
Our team were considering use alasql as some of the repositories of a PowerBI alternative. We stopped becouse of this index issue and another one: we tried to do a left join, but it dident bring results using FILESTORAGE DATABASE
We will keep our eyes on it, it is a amzing project.
Its driven by people contributing - if you need the features fixed it would help greatly if you look into where the problem is located. Like #1013 - so that we together can improve the quality.
Activity
mathiasrw commentedon Nov 20, 2015
Nice catch - a clear bug...
Made a version making it easy to compare expected and actual output
http://jsfiddle.net/hfcpcnxt/
error39 commentedon Nov 20, 2015
okay, glad I did report it then, will improve alasql a tiny bit then :)
Really appreciate all the work that has gone into this GREAT project, thumbs up!
mathiasrw commentedon Nov 20, 2015
👍
glaucocustodio commentedon Nov 20, 2015
Same problem here, it does not generate id...
error39 commentedon Nov 28, 2015
I was wondering, will this be fixed?
mathiasrw commentedon Nov 28, 2015
Sorry my short answer from a phone. Yes it will be solved - it's an error - but can't tell you when. In this moment we are transforming the code base to ES6. It depends on when people like @agershun take the time to get into the nitty gritty...
error39 commentedon Dec 23, 2015
Okay, I understand the problem.
But do you have a slight idea when this (kind of basic) functionality will be added/fixed then?
In - like - a month or more likely 6 months or a year?
You've all done a great job with this library and for future projects I'd be happy to know if it's actively maintained, or if it's just a more or less finished project?
Wish I could be of some help on the subject, but my Javascript skills are far from suited for these kind of projects.
Good luck with the codebase rewrite, a huge job, I guess..
mathiasrw commentedon Dec 27, 2015
Sorry i cant come with a better answer... I really have no idea when someone will feel in the mood to dig into the issue.
From November 27 to December 27 we had the following activity:
So guess some people still seek to improve the library.
I am sure that if you have an urgent need you can hire @agershun to spend the time needed to fix this.
error39 commentedon Dec 27, 2015
Thanks, I'll wait till someone will pick up the issue.
In the mean time I'll stick to a custom workaround which auto-increments at every INSERT statement
agershun commentedon Dec 27, 2015
Sorry for late answer, I will try to fix it in one or two days.
Отправлено с iPhone
error39 commentedon Dec 28, 2015
Thanks a lot @agershun!
agershun commentedon Dec 29, 2015
It was harder than expected... Sorry for delay
seb-ster commentedon Mar 24, 2016
Is there any progress on this issue?
It's not working in on W10, FF45 with AlaSQL v0.2.5 and local storage.
[edit]
checked out the local storage property in the DOM. The table definition seems correct:
{"columnid":"_id","dbtypeid":"INTEGER","identity":{"value":1,"step":1}}
12 remaining items
kanghj commentedon Feb 6, 2017
It looks sufficient to increment
ident.valuein LS.restoreTable. We can obtain the value of the step using ident.step, so the solution should look something like:?
increment ident values for LS
alshdavid commentedon Jun 21, 2018
Still an issue for me. Chrome & local storage
calebeaires commentedon Aug 2, 2018
Version alasql 0.4.8 still have this issue. Auto increment does not work. My project is using FILESTORAGE DATABASE
classofoutcasts commentedon Aug 5, 2018
Solved? Great! I left Alasql a while ago as it didn't seem to be actively maintained any more, might reconsider that now though.
calebeaires commentedon Aug 5, 2018
@mathiasrw Very thanks to that.
Our team were considering use alasql as some of the repositories of a PowerBI alternative. We stopped becouse of this index issue and another one: we tried to do a left join, but it dident bring results using FILESTORAGE DATABASE
We will keep our eyes on it, it is a amzing project.
mathiasrw commentedon Aug 5, 2018
Its driven by people contributing - if you need the features fixed it would help greatly if you look into where the problem is located. Like #1013 - so that we together can improve the quality.
Fix AlaSQL#462: Autoincrement for local storage (AlaSQL#847)
mayae29 commentedon Mar 4, 2025
guys... is it working now?
mathiasrw commentedon Mar 6, 2025
Looks like Dontar fixed it in july 2024