@mikro-orm/coreEnumerationsVersion: NextOn this pageFlushMode Controls when the EntityManager flushes pending changes to the database.Index Enumeration MembersALWAYSAUTOCOMMITEnumeration Members ALWAYSALWAYS: alwaysFlushes the EntityManager before every query.AUTOAUTO: autoThis is the default mode, and it flushes the EntityManager only if necessary.COMMITCOMMIT: commitThe EntityManager delays the flush until the current Transaction is committed.
Controls when the
EntityManagerflushes pending changes to the database.