PHP Classes

File: Config/Queries/ClientDB/GET/Registration-single.php

Recommend this page to a friend!
  Classes of Ramesh Narayan Jangid   PHP Microservices Framework   Config/Queries/ClientDB/GET/Registration-single.php   Download  
File: Config/Queries/ClientDB/GET/Registration-single.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: 22 days ago
Size: 467 bytes
 

Contents

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

use
Microservices\App\Constants;

return [
   
'query' => "SELECT * FROM `registration` WHERE __WHERE__",
   
'__CONFIG__' => [// [{payload/uriParams}, key/index, {Constants::$REQUIRED}]
       
['uriParams', 'id', Constants::$REQUIRED],
    ],
   
'__WHERE__' => [
       
'is_deleted' => ['custom', 'No'],
       
'id' => ['uriParams','id']
    ],
   
'mode' => 'singleRowFormat'//Single row returned.
];