question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Metadata should be a nested arbitrary KV store

See original GitHub issue

I started using the metadata feature and was surprised to find that values are not inherited from the root object down to specific databases and tables. This makes metadata much less useful and requires a lot of pointless duplication.

Ideally, metadata should allow arbitrary key-value pairs, and there should be a way of accessing metadata either in an inherited or non-inherited manner. Something like metadata.page.key vs. metadata.this.key might work as an interface.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
simonwcommented, Apr 9, 2018

@carlmjohnson in case you aren’t following along with #189 I’ve shipped the first working prototype of sort-by-column - you can try it out here: https://datasette-issue-189-demo-2.now.sh/salaries-7859114-7859114/2017+Maryland+state+salaries?_search=university&_sort_desc=annual_salary

0reactions
carlmjohnsoncommented, Aug 13, 2018

That seems good to me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

KV - Secrets Engines | Vault - HashiCorp Developer
The KV secrets engine can store arbitrary secrets. ... kv is a reduced storage size for each key since no additional metadata or...
Read more >
Manage blob properties and metadata with JavaScript
Learn how to set and retrieve system properties and store custom metadata on blobs in your Azure Storage account using the JavaScript client ......
Read more >
Storing Secrets in HashiCorp Vault - Joshua Powers
This path can be any arbitrary name. Under each path, the actual secrets are stored. Similarly, each key value secret is created under...
Read more >
Return object with specific key:value pair in an array nested in ...
I guess you can do following: function getObjectForName(key, name) { var filteredMetadata = []; for(var i=0; i< objectArray.length; ...
Read more >
Customizing dataset and resource metadata fields using ...
CKAN provides a simple way to do this by allowing you to store arbitrary key/value pairs against a dataset when creating or updating...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found