CakePHP 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 年前3Django Q Documentation Release 1.3.6
PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Rollbar and Sentry support Django Q is tested with: Python 3.7 and 3.8, Django 2.2.x and 3.1.x Currently disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler error_reporter cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference For example, with the following code # settings.py Q_CLUSTER = { 'retry': 5 'workers': 4, 'orm': 'default', } # example.py from django_q.tasks import async_task async_task('time.sleep', 22)0 码力 | 81 页 | 512.48 KB | 1 年前3Django Q Documentation Release 1.3.6
PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Rollbar and Sentry support Django Q is tested with: Python 3.7 and 3.8, Django 2.2.x and 3.1.x Currently disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler error_reporter cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference For example, with the following code # settings.py Q_CLUSTER = { 'retry': 5 'workers': 4, 'orm': 'default', } # example.py from django_q.tasks import async_task async_task('time.sleep', 22)0 码力 | 81 页 | 512.34 KB | 1 年前3Django Q Documentation Release 0.7.18
PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Rollbar support Django Q is tested with: Python 2.7 & 3.5. Django 1.8.13 & 1.9.7 Contents: Installation disque_nodes disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks payload not exceeding 256kb. orm If you want to use Django’s database backend as a message broker, set the orm keyword to the database connection you want it to use: # example ORM broker connection Q_CLUSTER0 码力 | 73 页 | 516.84 KB | 1 年前3Django Q Documentation Release 0.7.15
PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Rollbar support Django Q is tested with: Python 2.7 & 3.5. Django 1.8.8 & 1.9.1 Contents: Installation disque_nodes disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks payload not exceeding 256kb. orm If you want to use Django’s database backend as a message broker, set the orm keyword to the database connection you want it to use: # example ORM broker connection Q_CLUSTER0 码力 | 73 页 | 528.16 KB | 1 年前3Django Q Documentation Release 0.7.16
PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Rollbar support Django Q is tested with: Python 2.7 & 3.5. Django 1.8.11 & 1.9.4 Contents: Installation disque_nodes disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks payload not exceeding 256kb. orm If you want to use Django’s database backend as a message broker, set the orm keyword to the database connection you want it to use: # example ORM broker connection Q_CLUSTER0 码力 | 73 页 | 516.76 KB | 1 年前3Django Q Documentation Release 0.8.0
PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Rollbar support Django Q is tested with: Python 2.7 & 3.6. Django 1.8.18 LTS, 1.10.7 and 1.11 Contents: disque_nodes disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks payload not exceeding 256kb. orm If you want to use Django’s database backend as a message broker, set the orm keyword to the database connection you want it to use: # example ORM broker connection Q_CLUSTER0 码力 | 73 页 | 506.27 KB | 1 年前3Django Q Documentation Release 0.7.17
PaaS compatible with multiple instances Multi cluster monitor Redis, Disque, IronMQ, SQS, MongoDB or ORM Rollbar support Django Q is tested with: Python 2.7 & 3.5. Django 1.8.12 & 1.9.5 Contents: Installation disque_nodes disque_auth iron_mq sqs orm mongo mongo_db broker_class bulk poll cache cached scheduler rollbar cpu_affinity Brokers Redis Disque IronMQ Amazon SQS MongoDB Django ORM Custom Broker Reference Tasks payload not exceeding 256kb. orm If you want to use Django’s database backend as a message broker, set the orm keyword to the database connection you want it to use: # example ORM broker connection Q_CLUSTER0 码力 | 73 页 | 516.85 KB | 1 年前3
共 170 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17