# Bake can't handle column name containing ':'?

**URL:** <https://discourse.cakephp.org/t/bake-cant-handle-column-name-containing/10046>\
**Category:** Uncategorized\
**Created:** [January 4, 2022, 12:20pm UTC](https://discourse.cakephp.org/t/bake-cant-handle-column-name-containing/10046 "2022-01-04T12:20:58Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![KevinPfeifer](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/kevinpfeifer/32/3365_2.png) [@KevinPfeifer](https://discourse.cakephp.org/u/KevinPfeifer)\
**Post date:** [January 6, 2022, 2:24pm UTC](https://discourse.cakephp.org/t/bake-cant-handle-column-name-containing/10046/16 "2022-01-06T14:24:44Z")

</div>

Well you can’t use the ORM (which maps your table data to entities in PHP) but you can for sure just use the query builder as normal and just disable the hydration (converting sql data into php objects)  
[https://book.cakephp.org/4/en/orm/query-builder.html#fetching-arrays-instead-of-entities](https://book.cakephp.org/4/en/orm/query-builder.html#fetching-arrays-instead-of-entities)

With that you don’t get entities and instead just the data as an array as it is present in the DB.  
Now you just have to manually adjust your templates to access the data via array keys instead of properties.

---

_[View the full topic](https://discourse.cakephp.org/t/bake-cant-handle-column-name-containing/10046)._
