Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Groups API

From MoodleDocs

Database Structure

There are four core tables for Groups.

groups_members

Field Type Info
id bigint(10) auto_increment