fun insertBlog(blog: Blog) { return tr...
# exposed
p
fun insertBlog(blog: Blog) { return transaction { Blogs.insert { it[message] = blog.message } } }
s
fun insertBlog(blog: Blog) { return transaction { Blogs.insert { it[message] = blog.message }[blogId] } }
p
yeah.. cool it works. To return whole inserted object, I should do select correct?
many thx