PHP Classes

File: Config/Queries/ClientDB/GET/Address-all.php

Recommend this page to a friend!
  Classes of Ramesh Narayan Jangid   Open Swoole Microservices   Config/Queries/ClientDB/GET/Address-all.php   Download  
File: Config/Queries/ClientDB/GET/Address-all.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Open Swoole Microservices
Implement microservices using Open Swoole
Author: By
Last change: Implemented serverMode feature for Read Configs
Date: 24 days ago
Size: 373 bytes
 

Contents

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

use
Microservices\App\Constants;

return [
   
'countQuery' => "SELECT count(1) as `count` FROM `address` WHERE __WHERE__",
   
'query' => "SELECT * FROM `address` WHERE __WHERE__",
   
'__WHERE__' => [
       
'is_deleted' => ['custom', 'No']
    ],
   
'mode' => 'multipleRowFormat'//Multiple rows returned.
];