cojen / TuplDB

TuplDB is a high-performance, concurrent, transactional, scalable, low-level embedded database.
GNU Affero General Public License v3.0
110 stars 22 forks source link

Define a Table re-encode method #122

Open broneill opened 11 months ago

broneill commented 11 months ago

When a column is dropped or changed, the old table rows still exist, bit with the old schema. To free up space, define a new Table method which iterates over all the rows and updates them to match the current schema, returning the number of rows which needed to be updated.