Skip to content

Implement simple database loader #28

@Satrige

Description

@Satrige

Since we wanna our results persist on disk, we need to implement a loader for it.

Let's keep it simple for the beginning.
The database on disk should have the next structure:

${database_folder}/
${database_folder}/db_struct.yaml
${database_folder}/${table1}
${database_folder}/${table2}

Where ${database_folder}/db_struct.yaml has the next struct:

db_name: db_name
tables:
  - table_name: users
    table_structure:
      - row_name: id
        row_type: integer
      - row_name: name
        row_type: string
      - row_name: email
        row_type: string

And the ${database_folder}/${table1} is the binary representation of the table contents

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions