Support datasource-specific attributes
See original GitHub issueProblem
Databases like Postgres are incredibly feature-rich. Exposing all of those features would clutter up the schema for databases that do not support these features.
Possible Solution
We introduce datasource-specific attributes @pg.check(...)
, which allow more advanced features while making it clear that this is datasource-specific and may make it harder to switch databases.
Original Question
Where are the pg attributes documented? For example I want to specify the maximum length of a string or customize the type definition for postgres, it’s hard to find out what is available.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Assign Attributes to a Custom Data Source - Salesforce Help
Follow these steps to assign an attribute to a custom data source in Contact Builder. Click Data Sources. Click Select Data Sources Now....
Read more >Creating a DataSource - LogicMonitor
There are four sections included in every DataSource definition: General Information · Active Discovery · Collector Attributes · Datapoints.
Read more >Attributes in Data Source Definitions - Jaspersoft Community
Attributes can be used to derive all data source parameters that are not selected from drop down lists.
Read more >Configuring the attributes in a data source - Oracle Help Center
On the Configure Data Source page of the data source configuration dialog, you configure the attributes that are included in the data source....
Read more >Tableau Server Data Source Properties Service
Introduced in version 2020.1.0, the Tableau Server Data Source Properties service provides metadata for published data source from the Application Server ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@janpio
The specific directives are also not documented(https://github.com/prisma/prisma2/tree/master/docs) so I added that label as well so that once they are implemented we need to document them as well.
This is now supported via native types, including a catch-call notation for types we don’t yet support. The feature request described in this issue is pretty generic, so I am closing it.
For native types beyond the supported ones, we would like to have specific types requested (Postgis, Interval, etc.). for other features, e.g. database views, or stored procedures specific feature requests also welcome.
Make sure to check out https://www.prisma.io/docs/concepts/components/preview-features/native-types