Skip to content

[Enh]: For auto-config entities support views #3225

@JerryNixon

Description

@JerryNixon

What?

Support views as well as tables in autoentities.

Note

This feature supports only read-only views.

Why?

Because many customers, especial with MCP, prefer views.

How?

This is tricky because views do not have keys, which we currently require. The only viable solution without adding significant complexity is to include views as read-only entities. However, we currently don't have this concept. But it is coming!

This prerequisite task introduces read-only views and enables this feature.

Configuration

{
  "autoentities": {
    "default": {
      "source-type": [ "view" ] // default: [ table ]
    }
  }
}

An autoentity can include more than one type.

Command line

dab auto-config <name> --source-type "table,view"

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions