drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Add documentation in Goodies on how to get materialized view (or view) columns for select

Open
#2,153 3 comments 1 reaction 0 assignees View on GitHub
docs docs/improvements
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

```
const columns = getMaterializedViewConfig(materializedView).selectedFields;
```

We have a section to show how to get the select columns for pg table but not views nor materialized view. If someone can add the example using the code above that would be awesome.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.