#{extends 'main.html' /} #{set title:'Home' /}

# Multi DB demo

We are accessing two differents databases

#{if students.size()}

### Students extracted from datasource 'default'

#{list items:students, as:'student'}
- ${student.name} ${student.birthdate}
#{/list}

#{/if} #{if teachers.size()}

### Teachers extracted from datasource 'teacher'

#{list items:teachers, as:'teacher'}
- ${teacher.name} ${teacher.topic}
#{/list}

#{/if}