CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 12 Database Access & ORM 463 Quick Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\TableRegistry; (continues on next page) 1 CakePHP Cookbook Documentation, Release 3.10 (continued If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\TableRegistry; // Prior to 3.6 use TableRegistry::get('Users') $users = TableRegistry::getTableLo0 码力 | 967 页 | 2.80 MB | 1 年前3CakePHP Cookbook Documentation 5.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 12 Database Access & ORM 321 Quick Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\Locator\LocatorAwareTrait; (continues on next page) 1 CakePHP Cookbook Documentation, Release 5 If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTableLocator()->get('Users'); $user = $users->newEntity(['email'0 码力 | 848 页 | 2.53 MB | 1 年前3CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 12 Database Access & ORM 419 Quick Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\Locator\LocatorAwareTrait; (continues on next page) 1 CakePHP Cookbook Documentation, Release 4 If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTableLocator()->get('Users'); $user = $users->newEntity(['email'0 码力 | 967 页 | 2.88 MB | 1 年前3sqlalchemy tutorial
cross-platform software released under MIT license. SQLAlchemy is famous for its object-relational mapper (ORM), using which classes can be mapped to the database, thereby allowing the object model and database Audience This tutorial is designed for all those Python programmers who would like to understand the ORM framework with SQLAlchemy and its API. Prerequisites Before you start proceeding with this tutorial ..................................................................................... 1 What is ORM? .................................................................................................0 码力 | 92 页 | 1.77 MB | 1 年前3CakePHP Cookbook 3.x
Migration Guide 3.1 Migration Guide 3.1 Migration Guide 3.0 Migration Guide 3.0 Migration Guide New ORM Upgrade Guide Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example More Information Database Basics Query Builder Table Objects Entities Retrieving Data “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\TableRegistry; // Prior to 3.6 use TableRegistry::get('Users') $users = TableRegistry::getTableLo0 码力 | 1244 页 | 1.05 MB | 1 年前3CakePHP Cookbook 4.x
Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example More Information Database Basics Query Builder Table Objects Entities Retrieving Data “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTableLocator()->get('Users'); $resultset = $users->find()->all(); If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTableLocator()->get('Users'); $user = $users->newEntity(['email'0 码力 | 1249 页 | 1.04 MB | 1 年前3CakePHP Cookbook Documentation 5.x
Own View Classes More About Views View Cells Themes JSON and XML views Helpers Database Access & ORM Quick Example More Information Database Basics Query Builder Table Objects Entities Retrieving Data “Comment”, or “Photo”. If we wanted to load some data from our users table we could do: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTableLocator()->get('Users'); $resultset = $users->find()->all(); If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\Locator\LocatorAwareTrait; $users = $this->getTableLocator()->get('Users'); $user = $users->newEntity(['email'0 码力 | 1080 页 | 939.39 KB | 1 年前3Spring Framwork Data Access v5.3.36 SNAPSHOT
153 5. Object Relational Mapping (ORM) Data Access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 5.1. Introduction to ORM with Spring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 5.2. General ORM Integration Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . declares sessionFactory and txManager beans:0 码力 | 197 页 | 2.76 MB | 1 年前3Spring Framework 1.2.x Changelog
sembler operates correctly in case of no "ignoredMethods" specified Package org.springframework.orm * iBATIS support works correctly with "useTransactionAwareDataSource" and JTA transaction resume with MockFilterConfig, using a MockServletContext instead of a ServletContext argument Package org.springframework.orm * refined JDO PersistenceManagerFactoryUtils to explicitly suspend pre-bound PM in the course of transaction specification in "setContentType" and sets character encoding accordingly Package org.springframework.orm * SqlMapClientTemplate always works with SqlMapSession and provided Connection to enable proper batching0 码力 | 94 页 | 267.57 KB | 1 年前3Spring Framework 2.5.5 Changelog
MIME type for "css" extension from MimeMessageHelper's default mappings Package org.springframework.orm * improved HibernateTransactionManager's InvalidIsolationLevelException exception message (-> Spr endorAdapter's "database" property * Hibernate/TopLink/JDO/JPA proxy classes are generated in the ORM provider's ClassLoader (for full visibility in OSGi) * Spring-enriched JPA proxies are created in deliveryMode, priority and timeToLive fields with the target's settings Package org.springframework.orm * fixed Hibernate 3.2 support to flush updates before queries even within purely Spring-managed JTA0 码力 | 101 页 | 291.00 KB | 1 年前3
共 614 条
- 1
- 2
- 3
- 4
- 5
- 6
- 62