+ /**
+ * Fetches group record by user id and maybe includes deleted groups as well
+ *
+ * @param int $uid User id to fetch group(s) for
+ * @param bool $includesDeleted Whether deleted groups should be included
+ * @return array|bool Array on success, bool on error
+ */
+ public static function getByUserId(int $uid, bool $includesDeleted = false)