Skip to content

Conflicts with column names and properties in the table data structure #36

Open
@johndyoung

Description

@johndyoung

Because all table columns are added as closure properties, certain column names are incompatible with node-sql due to conflicting property names (table and alias, for example).

Initially, I thought that turning the columns list into an object to be used like the column name closure properties are would work, but then that would break the interface.

So, maybe making all of the non-column name attributes start with a "_" or something would work better?

I haven't pulled my sleeves up and really dug into the code yet, so I'm not sure what change would solve this with the least amount of "gotchas."

Thoughts?

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