Title here
Summary here
//: # ‘
’ [//]: # “This section assumes you have already set up your project and have already gone through the Api Tutorial guide atleast.” [//]: # "
bash"
[//]: # "composer require pionia/porm"
[//]: # "”
//: #
//: # ‘’ [//]: # “If you are using Pionia, you do not need to install PORM separately. PORM is already included in the Pionia framework.” [//]: # "
ini"
[//]: # "[db]"
[//]: # "database ="
[//]: # "username ="
[//]: # "type ="
[//]: # "host ="
[//]: # "password ="
[//]: # "port ="
[//]: # "”
//: #
//: # ‘’ [//]: # “If you are using Pionia, you do not need to configure PORM separately. PORM is already configured in the Pionia framework.” [//]: # "
settings.ini file. You can then specify the database connection to use when querying the database.”
//: #
//: # “ini"
[//]: # "; other settings"
[//]: #
[//]: # "[db]"
[//]: # "database ="
[//]: # "username ="
[//]: # "type ="
[//]: # "host ="
[//]: # "password ="
[//]: # "port ="
[//]: #
[//]: # "[db2]"
[//]: # "database ="
[//]: # "username ="
[//]: # "type ="
[//]: # "host ="
[//]: # "password ="
[//]: # "port ="
[//]: #
[//]: # "; other settings"
[//]: #
[//]: # "”
//: #
//: # “You can then specify the database connection to use when querying the database.”
//: #
//: # “php"
[//]: # "use Porm\\Porm;"
[//]: #
[//]: # "Porm::from('posts')->using('db2'); // will connect to the db2 database"
[//]: # "”
//: #
//: # “By default, PORM will use the default database connection(db) to query the database.”