PHP Classes

File: Config/Queries/Open/GET/Category-single.php

Recommend this page to a friend!
  Classes of Ramesh Narayan Jangid (Sharma)   PHP Microservices Framework   Config/Queries/Open/GET/Category-single.php   Download  
File: Config/Queries/Open/GET/Category-single.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: PHP Microservices Framework
Setup microservices apps with configuration arrays
Author: By
Last change: Support for same col multiple time
Adding double underscore for fields that can be used in __SUB-QUERY__
Open to Web
Date: 12 days ago
Size: 373 bytes
 

Contents

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


return [
   
'__QUERY__' => "SELECT * FROM `category` WHERE __WHERE__",
   
'__WHERE__' => [
        [
'column' => 'is_deleted', 'fetchFrom' => 'custom', 'fetchFromValue' => 'No'],
        [
'column' => 'is_deleted', 'fetchFrom' => 'uriParams', 'fetchFromValue' => 'id'],
    ],
   
'__MODE__' => 'singleRowFormat'
];