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

Simple Examples for getting and inserting data into B-Tree #524

Open
GitterHubber opened this issue Aug 28, 2016 · 2 comments
Open

Simple Examples for getting and inserting data into B-Tree #524

GitterHubber opened this issue Aug 28, 2016 · 2 comments
Assignees
Milestone

Comments

@GitterHubber
Copy link

Could you please provide some simple examples of fetching and inserting data into the B-tree. From what you have already shown it seems fetching needs a Iterator and inserting needs a Mutator.

Am I right?

However there are no examples on how to use the Mutator to insert data into the B-tree or if there is any other simple way to do it.

@bigeasy bigeasy added this to the Mutation milestone Aug 28, 2016
@bigeasy bigeasy self-assigned this Aug 28, 2016
@bigeasy
Copy link
Owner

bigeasy commented Aug 28, 2016

A Mutator is also an Iterator. It can do all that an Iterator can do. There is no simple way to do anything with Strata. It is a b-tree primitive. Once you create a mutator you can begin to insert values into it. I'll see if I can update the GitHub pages with a plain JavaScript example.

@GitterHubber
Copy link
Author

On 28-Aug-16 11:30 AM, Alan Gutierrez wrote:

A |Mutator| is also an |Iterator|. It can do all that an |Iterator|
can do. There is no simple way to do anything with Strata. It is a
b-tree primitive. Once you create a mutator you can begin to insert
values into it. I'll see if I can update the GitHub pages with a plain
JavaScript example.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#524 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACr4Is1y19_PBXZ1y3_Zi_iCJlCvz9hhks5qkSPvgaJpZM4Ju2Eq.

Hi! Could you copy-paste the sample code for the Mutator edit in this
thread. I'm itching to get started with Strata.
Thanks in Advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants