You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Lunny Xiao b6f8c62f6e
Update documents
2 years ago
..
1.deleted.md Update documents 2 years ago
README.md Update documents 2 years ago

README.md

7.Delete one or more records

Delete one or more records

  • delete by id
affected, err := engine.ID(1).Delete(&User{})
  • delete by other conditions
affected, err := engine.Delete(&User{Name:"xlw"})