String returns a string representation of the current collection.
()
| 590 | |
| 591 | // String returns a string representation of the current collection. |
| 592 | func (m Collection) String() string { |
| 593 | raw, _ := json.Marshal(m) |
| 594 | return string(raw) |
| 595 | } |
| 596 | |
| 597 | // DBExport prepares and exports the current collection data for db persistence. |
| 598 | func (m *Collection) DBExport(app App) (map[string]any, error) { |