@mikro-orm/coreEnumerationsVersion: 5.9On this pageFlushMode Index Enumeration MembersALWAYSAUTOCOMMITEnumeration Members ALWAYSALWAYS: 2Flushes the EntityManager before every query.AUTOAUTO: 1This is the default mode, and it flushes the EntityManager only if necessary.COMMITCOMMIT: 0The EntityManager tries to delay the flush until the current Transaction is committed, although it might flush prematurely too.
Flushes the
EntityManager
before every query.