---
title: "cakephp find like用法"
author: "myfreespace"
date: "2011-06-30T19:32:20Z"
tags: []
categories: ["编程语言"]
slug: "cakephp-find-like"
draft: false
lastmod: "2011-06-30T19:32:20Z"
id: 1111459
url: "https://myfreespace.iteye.com/blog/1111459"
---

$districts = $this-&gt;School-&gt;find('list', array('conditions' =&gt; array('School.city\_id'=&gt;$city, "School.name LIKE '%嘉华%'")));