[plugin] rex_taffydb (local database)

Post your completed addons to share with the community

Post » Sat Jul 18, 2015 1:28 pm

@leguidonviolon

Export content of database = Expression:AllRowsAsJSON
Import back = Action:Insert JSON data , you might clean database (Action:Remove all) before importing.
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Sat Jul 18, 2015 6:54 pm

Alright thanks!
B
4
S
1
Posts: 3
Reputation: 356

Post » Tue Jul 12, 2016 2:01 pm

What is the practical limitation of DB size? Is there any limit on import/export size?
B
28
S
8
G
2
Posts: 58
Reputation: 2,586

Post » Tue Jul 12, 2016 3:28 pm

@ethanpil

I have no idea about size limitation. I guess that there is no limitation, like official array or dictionary.
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Fri Jul 15, 2016 9:19 pm

https://github.com/louischatriot/nedb

What do you think this? Since NeDB is faster than TaffyDB due to in-memory runtime besides NeDB is using node.js is exclusively for nw.js, electron and other wrappers.
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,361

Post » Sat Jul 16, 2016 1:28 am

@Joannesalfa

I had surveyed NeDB before. NeDB might not be convince because that it is asynchronous, like accessing to localstorage.
I still will try to wrap it into C2 plugin when I have time (maybe 2 moths later).
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Mon Jul 18, 2016 9:07 am

Update: add "Action:Define type"

Call "Action:Define type" to define a column to be number type. i.e. all values in that column are number. (sample capx)
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Wed Jul 20, 2016 3:24 am

rexrainbow wrote:@Joannesalfa

I had surveyed NeDB before. NeDB might not be convince because that it is asynchronous, like accessing to localstorage.
I still will try to wrap it into C2 plugin when I have time (maybe 2 moths later).


It has ability to make a query part of data instead of storing more than 50 mb of data.
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,361

Post » Wed Jul 20, 2016 4:10 am

@Joannesalfa

Right, because NeDB put data in disk (webstorage/indexDB), but taffydb is an in-memory database.
That why NeDB is asynchronous, taffyfb is synchronous.
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Thu Aug 04, 2016 2:14 pm

Can you put a shuffle?
B
14
S
6
G
2
Posts: 81
Reputation: 2,241

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: neverk and 3 guests