La base de données mongodb¶
nom: | eoleaaf |
---|
Collections¶
- subject
- etablissement
- user
to export a collection into the json format, use the mongo-tools:
apt install mongo-tools
here is the command line
mongoexport -d eoleaaf --jsonArray --pretty --collection user
User¶
{
'_id': ObjectId('5c371aeeb92f3b1597f1c3db'),
'uid': 'AWL11248',
'FieldFromXMLImportActionDate': '2019-01-10 11:14:06 ',
'ENTPersonCodePostal': '75000',
'FieldActionType': 'CREATE',
'id': '994845',
'userPassword': 'j;U@3Vze',
'FieldModifiedStatus': 1,
'ENTPersonJointure': '994845',
'UserType': 'responsable',
'ENTPersonAdresse': '2 ROUTE DE CHARTRES',
'ENTPersonPays': 'FRANCE',
'ENTPersonLogin': 'mathieu.delacourt01',
'ENTPersonDateNaissance': '',
'homePhone': '+33 0 00 11 22 33',
'telephoneNumber': '',
'givenName': 'Mathieu',
'ENTPersonVille': 'PARIS',
'personalTitle': 'M',
'ENTPersonNomPatro': 'DELACOURT',
'gecos': 'DELACOURT Mathieu',
'sn': 'DELACOURT'
}
Etablissement¶
{
'_id': ObjectId('5c371aeeb92f3b1597f1c3d8'),
'ENTStructureGroupes': [{
'group': '4E3_A',
'class': '4E3'
}, {
'group': '4E3_B',
'class': '4E3'
}],
'FieldFromXMLImportActionDate': '2019-01-10 11:14:06 ',
'ENTEtablissementStructRattachFctl': '',
'street': 'RUE CITE',
'FieldActionType': 'CREATE_DONE',
'id': '2515',
'ENTStructureUAI': '00000001',
'facsimileTelephoneNumber': '+33 2 125899 20 01',
'FieldModifiedStatus': 1,
'ENTEtablissementMinistereTutelle': "MINISTERE DE L'EDUCATION NATIONALE",
'ENTStructureTypeStruct': 'INSPECTIONS ACADEMIQUES',
'postalCode': '18013',
'postOfficeBox': '608',
'ENTStructureClasses': '',
'ENTEtablissementBassin': 'BASSIN DU TEST',
'ENTStructureSIREN': '17450234560289',
'ENTStructureNomCourant': 'D.E.E.E.-DU ac-test',
'telephoneNumber': '+33 211 25 687 00',
'ENTEtablissementContrat': 'PU',
'ENTStructureJointure': '2515',
'l': 'DIJON CEDEX',
'ENTEtablissementUAI': '00000001',
'ENTServAcAcademie': 'ac test',
'FieldToLDIFFExportActionDate': '2019-01-10 11:14:06 '
}
Subject¶
{
'_id': ObjectId('5c371aeeb92f3b1597f1c3d9'),
'ENTLibelleMatiere': 'ANGLAIS',
'FieldFromXMLImportActionDate': '2019-01-10 11:14:06 ',
'FieldModifiedStatus': 1,
'ENTMatJointure': '308600',
'FieldActionType': 'CREATE',
'id': '308600'
}