Function
sql
commit &key database => nil
A database.
nil
commit function commits changes made to the database specified by database, which is*default-database* by default. commit is used to make those changes permanent.
(insert-records :into [emp]
:attributes '(x y z)
:values '(a b c))
(update-records [emp]
:attributes [dept]
:values 50
:where [= [dept] 40])
(delete-records :from [emp]
:where [> [salary] 300000])
(commit)
rollbackwith-transaction