[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.
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

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,601

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.
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

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
99
S
35
G
29
Posts: 3,139
Reputation: 28,426

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).
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

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)
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

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
99
S
35
G
29
Posts: 3,139
Reputation: 28,426

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.
Goodbye
B
111
S
28
G
295
Posts: 4,549
Reputation: 164,228

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: No registered users and 1 guest