Skip to content

Add Custom Properties as Repository-Derived Tables#556

Open
Recurzion wants to merge 1 commit into
turbot:mainfrom
Recurzion:Recurzion/gh-custom-props
Open

Add Custom Properties as Repository-Derived Tables#556
Recurzion wants to merge 1 commit into
turbot:mainfrom
Recurzion:Recurzion/gh-custom-props

Conversation

@Recurzion

@Recurzion Recurzion commented Jul 14, 2026

Copy link
Copy Markdown

This PR adds the ability to query repository custom properties (returned as jsonb) for any repository-derived columns via sharedRepositoryColumns() and updates docs with example queries (these can be removed if not needed).

This applies to the following tables:

  • github_repository
  • github_my_repository
  • github_team_repository
  • github_search_repository
  • and any other table using sharedRepositoryColumns()

Example query results

Results

select name,custom_properties  from github_my_repository where name = 'myrepo'

+----------+-------------------------------+
| name | custom_properties                 |
+----------+-------------------------------+
|myrepo |  {"key1":"value1","key2":"value2"}
+----------+-------------------------------+

select name,custom_properties -> 'myproperty' as myproperty from github_repository where  full_name = 'myorg/myrepo'

+----------+-------+
| name | myproperty|
+----------+-------+
|myrepo | "myvalue"|
+----------+-------+



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant