Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Database activity.

Database activity

From MoodleDocs

Template:Databases Template:Moodle 1.6

Moodle's Database Activity Module is an activity which allows the teacher to define a structured format for information - a set of fields. Teachers and/or students can then contribute to the "database" and build up a collection of structured records.

(Technically, a single instance of the database activity module is more like a single data table than a whole relational database.)

For example, one activity might ask students to contribute pictures they have created. The activity would need a "picture" field but could also have a "title" field and a "description" field. The teacher could decide to allow participants to add comments to each others' contributions, or even to rate them.

File:http://www.gliffy.com/pubdoc/1005015/M.jpg

Note: Please don't confuse this activity type with Moodle's underlying database, which stores all of the information used in Moodle courses.