falseclock / dbd-php Goto Github PK
View Code? Open in Web Editor NEWDatabase driver for PHP (PostgreSQL, OData, YellowERP, 1С)
License: MIT License
Database driver for PHP (PostgreSQL, OData, YellowERP, 1С)
License: MIT License
pg_fetch_array(): Unable to jump to row 0 on PostgreSQL result index 139835880776112
Line 579 in ffa93bd
should be checked has result rows or not
cache should be also set if no rows found
subj
subj
error level: | User Error
error message: | Query failed: called with 1 bind variables when 2 are needed at
`
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 |
`
-- noinspection SqlRedundantCodeInCoalesce
SELECT tender_lots.tender_lot_id,
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
subj
should be the same available as in 8dfb0bf
Like
$record = [
OrderDataMap::me()->validateDate => $wager->transactionDate,
OrderDataMap::me()->wager => [$wager->wagerNumber, 'smallint[]'],
];
BaseHandler::updateById(OrderData::class, $record, $orderData->id);
https://github.com/Falseclock/dbd-php/blob/master/src/Cache.php#L127
create function do not convert if string provided, for example "5 min"
numeric values
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.