Skip to content

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

Merged
texodus merged 3 commits intomasterfrom
implicit-pkey
Aug 28, 2019
Merged

Calculate row offset in C++, refactor Table, remove implicit primary key mode#692
texodus merged 3 commits intomasterfrom
implicit-pkey

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

Development

Successfully merging this pull request may close these issues.

3 participants