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

Calculate row offset in C++, refactor Table, remove implicit primary key mode #692

Merged
merged 3 commits into from
Aug 28, 2019

Conversation

sc1f
Copy link
Contributor

@sc1f sc1f commented Aug 28, 2019

This PR refactors the workings of the Table class and ports over some more functionality from JS to C++. Most importantly, the limit_index/offset property is now calculated within the Table class, which removes another chunk of state-dependent JS code.

  • Remove GNODE_TYPE_IMPLICIT_PKEYED which is not being used in the production codebase, and conflicts with features already present.
  • Additional documentation added in JS and C++ for the table

@texodus
Copy link
Member

texodus commented Aug 28, 2019

Looks good, thanks for the PR!

@texodus texodus merged commit 4b5804a into master Aug 28, 2019
@texodus texodus deleted the implicit-pkey branch August 28, 2019 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants