简体   繁体   中英

Cake PHP With MSSQL Database

I need some suggestion regarding Cake PHP With MSSQL Database.

I want to use CakePHP app in Linux/ubuntu/centOS server and remote windows server for MSSQL Database ( I know that we can not use MSSQL in Linux )

so in database.php i can define datasource as Sqlserver and remote server address in host etc.

Here my main query is that after that for CRUD, still i can use same find query or i have to write query using other method? i can use Find/count/list/save/saveMany/updateAll and Bind-model etc same like when we use MySQL?

ORMs are built with interoperability in mind. Cake PHP does support SqlServer so you can use all the functions normally. https://api.cakephp.org/3.3/class-Cake.Database.Driver.Sqlserver.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM