私の上司はソフト削除フィルター用にこのバンドルをインストールしましたが、ドキュメントはまばらです。削除クエリでこれを使用するにはどうすればよいですか?
9704 次
2 に答える
1
また、別のパズル部分も必要でした: doctrine yaml config:
XYBundle\Entity\Adresse:
type: entity
table: adresse
gedmo:
soft_deleteable:
field_name: deleted_at
time_aware: false
id:
id:
type: integer
generator: { strategy: AUTO }
fields:
ort:
type: string
length: 100
plz:
type: string
columnDefinition: varchar(255) NOT NULL DEFAULT ''
deleted_at:
type: datetime
nullable: true
于 2016-11-15T21:43:17.697 に答える