You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ScanAndCount scans a single record or record array that matches the given conditions and counts the total number of records that match those conditions.
287
-
// If useFieldForCount is true, it will use the fields specified in the model for counting;
288
-
// The pointer parameter is a pointer to a struct that the scanned data will be stored in.
289
-
// The pointerCount parameter is a pointer to an integer that will be set to the total number of records that match the given conditions.
286
+
// ScanAndCount scans a single record or record array that matches the given conditions and counts the total number
287
+
// of records that match those conditions.
288
+
//
289
+
// If `useFieldForCount` is true, it will use the fields specified in the model for counting;
290
+
// The `pointer` parameter is a pointer to a struct that the scanned data will be stored in.
291
+
// The `totalCount` parameter is a pointer to an integer that will be set to the total number of records that match the given conditions.
290
292
// The where parameter is an optional list of conditions to use when retrieving records.
0 commit comments