useViews will return whether the bucket is configured using views.
()
| 358 | |
| 359 | // useViews will return whether the bucket is configured using views. |
| 360 | func (c *DatabaseCollection) useViews() bool { |
| 361 | return c.dbCtx.Options.UseViews |
| 362 | } |
| 363 | |
| 364 | // Sets the collection's sync function based on the JS code from config. |
| 365 | // Returns a boolean indicating whether the function is different from the saved one. |
no outgoing calls
no test coverage detected