IsView checks if the current collection has "view" type.
()
| 483 | |
| 484 | // IsView checks if the current collection has "view" type. |
| 485 | func (m *Collection) IsView() bool { |
| 486 | return m.Type == CollectionTypeView |
| 487 | } |
| 488 | |
| 489 | // IntegrityChecks toggles the current collection integrity checks (ex. checking references on delete). |
| 490 | func (m *Collection) IntegrityChecks(enable bool) { |
no outgoing calls