mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-27 07:20:26 +01:00
[#47] fixed some doc and code inconsistencies and removed some redundant parentheses
This commit is contained in:
1 parent
d64fbf9011
commit
460c684caa
9 files changed
+17
-17
No files matched your search
+2
-2
@@ -77,12 +77,12 @@ func NewRecordsFromNullStringMaps(collection *Collection, rows []dbx.NullStringM
|
||||
return result
|
||||
}
|
||||
|
||||
// Returns the table name associated to the current Record model.
|
||||
// TableName returns the table name associated to the current Record model.
|
||||
func (m *Record) TableName() string {
|
||||
return m.collection.Name
|
||||
}
|
||||
|
||||
// Returns the Collection model associated to the current Record model.
|
||||
// Collection returns the Collection model associated to the current Record model.
|
||||
func (m *Record) Collection() *Collection {
|
||||
return m.collection
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user