PHP Classes

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

Recommend this page to a friend!
  Classes of Ramesh Narayan Jangid   PHP Microservices Framework   Config/Queries/ClientDB/PATCH/Address.php   Download  
File: Config/Queries/ClientDB/PATCH/Address.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Microservices Framework
Setup microservices apps with configuration arrays
Author: By
Last change: Refactor
Date: 17 days ago
Size: 626 bytes
 

Contents

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

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']
        ],
    ]
);