Coder Social home page Coder Social logo

dbd-php's People

Contributors

falseclock avatar shishiosachi avatar vovanost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dbd-php's Issues

_convertBoolean does not work for simple fetch


error level: | Notice
-- | --
error date: | 21 Января, 2019, 23:08 (4 минуты назад)
error message: | Undefined index: lottery_in_draw
error in file: | /vendor/falseclock/dbd-php/src/Pg.php

should be checked for numeric or associative array

image

Add haveLink method in DBPool to avoid exceptions

`

error level: Exception
error message: DBPool: can't find link with 'odata' name
error in file: /lib/Base/DBPool.php
  line 130:
line 130:  
context: ...124:  # if (!$link->isConnected()) 125:  # $link->connect(); 126:  127:  return $link; 128:  } 129:  130:  throw new Exception("DBPool: can't find link with '{$name}' name"); 131:  } 132:  133:  /** 134:  * Закрывает все текущие соединения, если у экземпляров классов есть метод disconnect 135:  * 136:  * @return DBPool ...
...  
124: # if (!$link->isConnected())
125: # $link->connect();
126:  
127: return $link;
128: }
129:  
130: throw new Exception("DBPool: can't find link with '{$name}' name");
131: }
132:  
133: /**
134: * Закрывает все текущие соединения, если у экземпляров классов есть метод disconnect
135: *
136: * @return DBPool
...  
code stack: /source/Internal.php23getLink/lib/Module/ModuleFactory.php42__construct/index.php90createModule
/source/Internal.php 23
/lib/Module/ModuleFactory.php 42
/index.php 90
...  
124: # if (!$link->isConnected())
125: # $link->connect();
126:  
127: return $link;
128: }
129:  
130: throw new Exception("DBPool: can't find link with '{$name}' name");
131: }
132:  
133: /**
134: * Закрывает все текущие соединения, если у экземпляров классов есть метод disconnect
135: *
136: * @return DBPool

`

Undefined index: EXPAND


error level: | Notice
-- | --
error date: | 09 Апреля, 2019, 09:54 (11 минут назад)
error message: | Undefined index: EXPAND
error in file: | /vendor/falseclock/dbd-php/src/OData.php
  | line 619:
context: | ...                 }                 $field = trim($field);             }             $this->requestUrl .= '$select=' . implode(",", $fields) . '&';         }          if($struct['EXPAND']) {             $this->requestUrl .= '$expand=' . $struct['EXPAND'] . '&';         }          if($struct['WHERE']) {             $this->requestUrl .= '$filter=' . $struct['WHERE'] . '&';         } ...
code stack: | /vendor/falseclock/dbd-php/src/OData.php619error_handler/vendor/falseclock/dbd-php/src/OData.php82prepareUrl/vendor/falseclock/dbd-php/src/YellowERP.php92execute/Source/Finance/AdmErp.php797execute/Source/Finance/AdmErp.php575findUserByCode/lib/Module/MethodModule.php176statementParse/index.php51handleRequest | /vendor/falseclock/dbd-php/src/OData.php | 619 | error_handler | /vendor/falseclock/dbd-php/src/OData.php | 82 | prepareUrl | /vendor/falseclock/dbd-php/src/YellowERP.php | 92 | execute | /Source/Finance/AdmErp.php | 797 | execute | /Source/Finance/AdmErp.php | 575 | findUserByCode | /lib/Module/MethodModule.php | 176 | statementParse | /index.php | 51 | handleRequest
/vendor/falseclock/dbd-php/src/OData.php | 619 | error_handler
/vendor/falseclock/dbd-php/src/OData.php | 82 | prepareUrl
/vendor/falseclock/dbd-php/src/YellowERP.php | 92 | execute
/Source/Finance/AdmErp.php | 797 | execute
/Source/Finance/AdmErp.php | 575 | findUserByCode
/lib/Module/MethodModule.php | 176 | statementParse
/index.php | 51 | handleRequest

image

allow to cast in update method

Like

        $record = [
            OrderDataMap::me()->validateDate => $wager->transactionDate,
            OrderDataMap::me()->wager        => [$wager->wagerNumber, 'smallint[]'],
        ];
        BaseHandler::updateById(OrderData::class, $record, $orderData->id);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.