Commit Graph

81 Commits

Author SHA1 Message Date
94addf4ca9 Correct SqlResultProvider::fetchField() to work with empty results. 2013-12-24 10:00:51 +04:00
7486ab5cf1 Add MySQLiStatement::getMysqliResult() 2013-12-19 15:26:00 +04:00
8b17a8f911 MEBLOG-39 - Вывод наименование каталога 2013-11-21 12:26:09 +04:00
153d6fa20a Correct ordering params in SqlCriteria::order() 2013-11-18 18:47:14 +04:00
049999dfbd Merge branch 'sql_criteria' of dimti.ru:majestic into sql_criteria 2013-10-29 16:42:38 +04:00
4878b32641 Add group by support in sql criteria. 2013-10-29 16:42:33 +04:00
1ea6c5acdd Применение функции trim в методе SqlCriteria.select() 2013-10-23 11:54:27 +04:00
5d7162480a Добавлен метод whereNot - повтор для whereNotIn 2013-10-20 13:37:38 +04:00
3263af5e18 Add method SqlCriteria.whereNotIn(). 2013-10-17 21:23:32 +04:00
40e049c93e Корректировка в методе SqlCriteria.select(). 2013-10-10 15:28:41 +04:00
559d779576 Update placeholder regular expression SqlDbDriver.quoteIdentifier(). 2013-10-09 08:59:54 +04:00
6890827f17 Fix in MySQLiStatement.mapPlaceholders() Use strictly placeholder names started with A-z symbol. 2013-10-09 08:35:15 +04:00
9a881f6560 Extend SqlCriteria::select() - use array or string for setting multiple fields of one call that method. 2013-10-09 07:07:34 +04:00
3f6b2adefd SqlDbDriver quote identifier - add checking for string as placeholder. 2013-09-26 10:46:30 +04:00
e06ddba773 Correct call fetchAll in SqlModel.find(). 2013-09-26 10:45:46 +04:00
9ab3bfc0da Add TODO in SqlResultProvider. 2013-09-20 22:13:02 +04:00
dff9c0b2af Refactoring SqlCriteria, SqlModel. Add SqlResultProvider.fetchField(). 2013-09-20 22:11:54 +04:00
72c38e641d Refactoring assoc use in SqlResultProvider. Write SqlCriteria.find() method. 2013-09-19 12:54:10 +04:00
ab01d0a41f Refactoring. Add SqlResultProvider. Add TODO in SqlDbDriver.whereExpr(). 2013-09-19 10:05:00 +04:00
2cb56ad228 Refactoring. Fix errors. Add SqlModel.assoc*() methods. 2013-09-17 18:42:04 +04:00
732b1ca8a5 Refactoring SqlModel.find() add SqlModel.criteria(). Add critera data keys as constants in SqlModel. 2013-09-17 14:57:56 +04:00
c890d082aa Add SqlCriteria class. Add SqlModel.find() with use SqlCriteria. 2013-09-17 09:51:20 +04:00
b261538286 Removed dead code, explode will only return false if delimiter is empty string. In such a case explode will trigger warning 2012-11-21 21:49:18 +04:00
a856dd484e Removed @version and @filesource from PHPDocs 2012-11-21 18:42:29 +04:00
1354f3d001 PHPDoc, some trailing PHP tags removed 2012-11-19 19:20:15 +04:00
11a5968105 refactored MongoModel to hide fetch method, fixed PHPDoc errors 2012-10-19 20:15:26 +04:00
cfd6536c5f Replace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap). 2012-06-27 18:02:42 +04:00
a1d33ea32f merged mongo into master 2012-06-05 14:08:33 +04:00
d5ae133478 added test for findAndModify if no item in collection and test for eval 2012-06-05 13:52:39 +04:00
950d1f4a9a modified MongoDbCommand __toString output 2012-06-04 16:06:03 +04:00
c0fa542b3c removed output buffer(ob_start/ob_end_clean) usasge in MongoDbCommand profile output 2012-05-23 18:59:20 +04:00
df491fdbbd fixed ret value on eval 2012-04-13 16:22:52 +04:00
c090634c19 Merge branch 'master' into mongo 2012-04-12 21:02:23 +04:00
a950ff688f updated MongoStatement to return retval on db.eval 2012-04-12 21:01:54 +04:00
623666fb09 updated MongoDbCommand Profiler output 2012-04-02 15:27:33 +04:00
a1bfcdd78b added count() method to MongoModel 2012-04-02 15:21:37 +04:00
e5e7fdb7e6 added MongoStatement method to count results before skip/limit 2012-02-06 18:12:23 +04:00
0140c3f4ad added condition to batchInsert against empty arrays 2012-01-19 19:16:31 +04:00
99a528fac3 added butchInsert to mongo model 2012-01-18 23:30:34 +04:00
d1723cb87b improved MongoId processing and $fields to MongoModel::find() 2011-12-13 13:43:15 +04:00
b9f7718063 added __toString() for MongoDbCommands 2011-12-06 16:22:37 +04:00
a942745039 two TODO closed for exceptions 2011-12-06 14:16:13 +04:00
71cc211c4f modified classes for GeneralException thrown 2011-12-06 14:05:18 +04:00
47b5843ef6 merge mongo with master 2011-12-05 20:11:20 +04:00
417c58d20a Removal of debugging information 2011-12-01 19:39:40 +04:00
fb127900e1 Use function is_object() 2011-12-01 19:36:04 +04:00
8cad3720bc Modified exception message 2011-12-01 17:37:47 +04:00
be83874392 added setExpectedException and check type Config 2011-11-30 13:26:36 +04:00
443655064c replace Exception on GeneralException 2011-11-25 19:50:41 +04:00
a02c3992bd added __toString() to MongoCommand - need to implement in subclasses 2011-11-24 19:24:05 +04:00