Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
374 views
in Technique[技术] by (71.8m points)

php - How to disable auto flush on 200 response?

How to disable auto flush on the database, made by doctrine on every 200 response? My doctrine configuration looks like

doctrine:
  dbal:
    dbname: name
    host: 'mysql'
    port: 3306
    user: abc
    password: abc
    driver: pdo_mysql
    server_version: '8.0'
    unix_socket: /tmp/mysql.sock

  orm:
    auto_generate_proxy_classes: true
    naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
    auto_mapping: true
question from:https://stackoverflow.com/questions/65950767/how-to-disable-auto-flush-on-200-response

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...