mirror of
https://github.com/jlengrand/exposed-wiki.git
synced 2026-03-10 08:11:18 +00:00
Updated DAO (markdown)
This commit is contained in:
committed by
Andrey.Tarashevskiy
parent
ea9e8dabec
commit
643826801c
1
DAO.md
1
DAO.md
@@ -79,6 +79,7 @@ Update a value of a property similarly to any property in a Kotlin class:
|
||||
```kotlin
|
||||
movie.name = "Episode VIII – The Last Jedi"
|
||||
```
|
||||
* Note: Exposed doesn't make an immediate update when you set a new value for Entity, it just store it on the inner map. "Flushing" values to the database occurs at the end of the transaction or before next "select *" from the database.
|
||||
### Delete
|
||||
```kotlin
|
||||
movie.delete()
|
||||
|
||||
Reference in New Issue
Block a user