 CakePHP Cookbook Documentation 5.xcertain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" Note Translations are cached - Make sure that you always clear the cache after making0 码力 | 1080 页 | 939.39 KB | 1 年前3 CakePHP Cookbook Documentation 5.xcertain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" Note Translations are cached - Make sure that you always clear the cache after making0 码力 | 1080 页 | 939.39 KB | 1 年前3
 CakePHP Cookbook Documentation 5.xcertain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" 360 Chapter 12. Database Access & ORM CakePHP Cookbook Documentation, Release 5.x Automatically this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" 143 https://en.wikipedia.org/wiki/Gettext 144 https://github.com/cakephp/localized0 码力 | 848 页 | 2.53 MB | 1 年前3 CakePHP Cookbook Documentation 5.xcertain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" 360 Chapter 12. Database Access & ORM CakePHP Cookbook Documentation, Release 5.x Automatically this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" 143 https://en.wikipedia.org/wiki/Gettext 144 https://github.com/cakephp/localized0 码力 | 848 页 | 2.53 MB | 1 年前3
 CakePHP Cookbook 4.x
certain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" Note Translations are cached - Make sure that you always clear the cache after making0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
certain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() ->where(function (QueryExpression $exp, Query $q) IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" Note Translations are cached - Make sure that you always clear the cache after making0 码力 | 1249 页 | 1.04 MB | 1 年前3
 CakePHP Cookbook 4.x
certain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() (continues on next page) More Information 459 CakePHP IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" 157 https://en.wikipedia.org/wiki/Gettext 158 https://github.com/cakephp/localized0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
certain collation: use Cake\Database\Expression\IdentifierExpression; $collation = 'Latin1_general_CI_AI'; //sql server example $query = $cities->find() (continues on next page) More Information 459 CakePHP IdentifierExpression('name', $collation), '%São José%'); }); # WHERE name COLLATE LIKE Latin1_general_CI_AI "%São José%" Automatically Creating IN Clauses When building queries using the ORM, you will generally this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" 157 https://en.wikipedia.org/wiki/Gettext 158 https://github.com/cakephp/localized0 码力 | 967 页 | 2.88 MB | 1 年前3
 CakePHP Cookbook 3.x
this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" Extract Pot Files with I18n Shell To create the pot files from __() and other internationalized0 码力 | 1244 页 | 1.05 MB | 1 年前3 CakePHP Cookbook 3.x
this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" Extract Pot Files with I18n Shell To create the pot files from __() and other internationalized0 码力 | 1244 页 | 1.05 MB | 1 年前3
 CakePHP Cookbook 3.x
this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" 162 https://en.wikipedia.org/wiki/Gettext 163 https://github.com/cakephp/localized0 码力 | 967 页 | 2.80 MB | 1 年前3 CakePHP Cookbook 3.x
this: msgid "My name is {0}" msgstr "Je m'appelle {0}" msgid "I'm {0,number} years old" msgstr "J'ai {0,number} ans" 162 https://en.wikipedia.org/wiki/Gettext 163 https://github.com/cakephp/localized0 码力 | 967 页 | 2.80 MB | 1 年前3
共 6 条
- 1














