# Web Development with Clojure, Third Edition - Why is vec necessary in (vec (db/get-messages))

**URL:** <https://forum.devtalk.com/t/web-development-with-clojure-third-edition-why-is-vec-necessary-in-vec-db-get-messages/1035>\
**Category:** PragProg Customers\
**Tags:** book-web-development-with-clojure-third-edition\
**Created:** [8 July 2020 18:47 UTC](https://forum.devtalk.com/t/web-development-with-clojure-third-edition-why-is-vec-necessary-in-vec-db-get-messages/1035 "2020-07-08T18:47:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kentbull](https://forum.devtalk.com/user_avatar/forum.devtalk.com/kentbull/32/1308_2.png) [@kentbull](https://forum.devtalk.com/u/kentbull)\
**Post date:** [29 June 2021 19:57 UTC](https://forum.devtalk.com/t/web-development-with-clojure-third-edition-why-is-vec-necessary-in-vec-db-get-messages/1035/4 "2021-06-29T19:57:04Z")

</div>

First of all, Thank you @joe for asking this question. I had the same question, mystified as to why `vec` was needed at all.

And thank you, @svmbrown for the clear and detailed answer. I learned something today because you took the time to teach it. For that I am grateful. Now I know why I would use `vec` and why you chose to use it here.

I’m loving this book and this community!

---

_[View the full topic](https://forum.devtalk.com/t/web-development-with-clojure-third-edition-why-is-vec-necessary-in-vec-db-get-messages/1035)._
