Skip to content

(extend) Merge table function and set warnings #91

@kkharji

Description

@kkharji

When creating un initialized db, table functions defined before initialization get removed. Additionally, table fields under db would be nil when trying to extend them or add function to them.

Thus, an empty table should be in place and at initialization merge the result of table:extend with what has been already defined.

Note: This maybe tricky with __new_index and __index setup of sql.table. I may need to modify the function to add fields to self instead of sql.table

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions