added support to reference collections in the UI with both their name and id

This commit is contained in:
Gani Georgiev
2024-10-29 13:38:30 +02:00
parent 421310d2f6
commit 658f0c4177
36 changed files with 121 additions and 114 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const FieldTypeEmail = "email"
var _ Field = (*EmailField)(nil)
// EmailField defines "email" type field for storing single email string address.
// EmailField defines "email" type field for storing a single email string address.
//
// The respective zero record field value is empty string.
type EmailField struct {
+1 -1
View File
@@ -69,7 +69,7 @@ var (
// // []string{"new1_ajkvass.txt", "new2_klhfnwd.txt", "old1.txt", "old2.txt",}
// record.Set("+documents", []*filesystem.File{new1, new2})
//
// - "fieldName-" - subtract one or more files from the existing record one. For example:
// - "fieldName-" - subtract/delete one or more files from the existing record one. For example:
//
// // []string{"old2.txt",}
// record.Set("documents-", "old1.txt")
+1 -1
View File
@@ -21,7 +21,7 @@ const FieldTypeURL = "url"
var _ Field = (*URLField)(nil)
// URLField defines "url" type field for storing URL string value.
// URLField defines "url" type field for storing a single URL string value.
//
// The respective zero record field value is empty string.
type URLField struct {