PHP Classes

File: Config/Queries/ClientDB/PUT/Address.php

Recommend this page to a friend!
  Classes of Ramesh Narayan Jangid   Open Swoole Microservices   Config/Queries/ClientDB/PUT/Address.php   Download  
File: Config/Queries/ClientDB/PUT/Address.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Open Swoole Microservices
Implement microservices using Open Swoole
Author: By
Last change:
Date: 23 days ago
Size: 624 bytes
 

Contents

Class file image Download
<?php
namespace Microservices\Config\Queries\ClientDB\PUT;

use
Microservices\App\Constants;

return
array_merge(
    include
Constants::$DOC_ROOT . '/Config/Queries/ClientDB/Common/Address.php',
    [
       
'__CONFIG__' => [// [{payload/uriParams}, key/index, {Constants::$REQUIRED}]
           
['payload', 'address', Constants::$REQUIRED],
            [
'uriParams', 'id', Constants::$REQUIRED],
        ],
       
'__SET__' => [
           
'address' => ['payload', 'address']
        ],
       
'__WHERE__' => [
           
'is_deleted' => ['custom', 'No'],
           
'id' => ['uriParams', 'id']
        ],
    ]
);