Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery #118

Closed
jannyHou opened this issue May 3, 2017 · 2 comments
Closed

Discovery #118

jannyHou opened this issue May 3, 2017 · 2 comments
Assignees
Labels

Comments

@jannyHou
Copy link
Contributor

jannyHou commented May 3, 2017

Feature

  • discoverModelDefinitions
    • We can only discover modelName without properties
    • user should be able to provide custom modelSelector and map the design doc to a loopback model
  • discoverSchemas
    • discover databases in a cloudant server
@jannyHou
Copy link
Contributor Author

jannyHou commented May 9, 2017

get all design docs:
GET /dbname/_all_docs?startkey="_design/"&endkey="_design0"&include_docs=true

by api db.list(opt, cb), provide the query in options according to https://github.com/apache/couchdb-nano/blob/master/lib/nano.js#L72

@kjdelisle
Copy link
Contributor

This feature doesn't align with the more fundamental usage of CouchDB/Cloudant-like NoSQL databases. There is no inherent information that can be examined with certainty to decide which documents represent Models, or how many fields on a document represent the "minimum definition" of a Model.

@0candy 0candy added this to the Sprint 36 - Apex milestone May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants