You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I didn't implement design documents in the library because they are Javascript functions. About the change feed, I suppose it contains design documents, too. The library doesn't know the type of object coming from the feed.
To create designs, you might want to try to use the Database's NewRequest method. That request is already scoped to a database and authenticated, you can add the missing paths with Flurl methods like AppendPath.
I have create a CouchDB database with a CouchContext :
With couchDB web interface I created the following design :
Remark : I couldn't find any documentation to create the design from CouchDB.Net. It's possible ?
I also created a listener to detect changes on this database :
_couchDBContext.ExampleDatas.GetContinuousChangesAsync return ExampleDataCouchDB objects but my "_design/example" is not a ExampleDataCouchDB object.
I don't understand what is the best practice to use the design documents with CouchDB.Net.
Can you help me and may be improve the documentation ?
You don't explain how to add it by code.
See https://docs.couchdb.org/en/stable/ddocs/ddocs.html#creation-and-structure
The text was updated successfully, but these errors were encountered: