35 Commits

Author SHA1 Message Date
157d6c79cc fixes #4972 by adding and alias() to ActiveQuery
allows defining an alias without knowing the model table name.
2016-02-12 12:34:16 +01:00
787dafbf73 revise DB documentation 2015-11-30 13:51:24 +01:00
95f251edd1 Fixes #10084: Improved DB docs 2015-11-04 12:08:18 +03:00
620ec4d132 added missing namespace on Exception in transaction docs
fixes #9429
2015-08-16 14:13:51 +02:00
a1066c579f added example for running initial db queries
fixes #8017
2015-04-24 10:44:18 +02:00
813f5c16eb Update db-dao.md
Removed table prefix sign, description of which is done in the next paragraph only.
2015-02-06 10:47:49 +07:00
36bebbfefb use id instead of name for anchor references in the guide
fixes #7013
2015-01-25 22:13:16 +01:00
7f670aafe9 Additional typo fixed for Database Access Objects guide 2015-01-22 16:34:19 +03:00
4002512dd1 Minor Database Access Objects guide fixes 2015-01-22 12:46:54 +03:00
a77650ba76 Update db-dao.md
There is no queryRow! There must be queryOne in Yii2
am i right?!
2015-01-21 16:01:16 +02:00
074f9ac0ef Finished dao guide chapter [skip ci] 2015-01-18 23:36:39 -05:00
996856c04c Security best practices guide 2014-12-14 18:34:20 +03:00
107a5208f5 Fixes #6372. [skip ci] 2014-12-09 16:23:04 -05:00
7f7581c843 Update db-dao.md
Minor syntax changes.
2014-11-21 17:29:21 -03:00
c3cebf5af3 doc WIP [skip ci] 2014-10-27 13:17:03 -04:00
9db261f356 guess the note blockquote will be live 2014-10-12 22:16:25 -04:00
88a3fcaa8a Merge branch 'master' of https://github.com/yiisoft/yii2 2014-10-12 19:35:14 -04:00
03fc27c822 edit up to 'performing transactions' 2014-10-12 19:35:09 -04:00
044eabc701 edit 'prepared statements' 2014-10-12 19:28:18 -04:00
833a4b9430 edit 'quoting table...' 2014-10-12 19:11:08 -04:00
8a6acd13ae edit 'executing basic queries' 2014-10-12 13:30:41 -04:00
77693fa5b5 edit intro and configuration 2014-10-12 13:23:40 -04:00
a375a62070 bump minimum required cubrid version
there is no reliable way to determine the cubrid PDO extension version used
and also no reliable way to detect which combination of server and client produces wrong behavior.

By requiering 9.3 or higher in both client and server we can be sure it works.

fixes #852
2014-10-12 04:06:13 +02:00
dfd68954a5 finished guide on formatting 2014-10-06 20:48:44 +02:00
9c4570ec17 Update db-dao.md
close #5350
2014-10-04 12:50:03 +02:00
212c5ee3ef Fixes #4254: SqlDataProvider does not work with Oracle and SQL Server 2014-09-03 14:42:09 -04:00
65987f62ae test WIP 2014-07-12 10:38:51 -04:00
c64ffdb2f9 Finished documentation about read-write splitting. 2014-07-12 01:04:11 -04:00
cc8a8360cb added unit test and notes about dbms specific settings 2014-06-24 03:11:34 +02:00
e9996007c9 added guide about transaction isolation levels 2014-06-24 01:50:00 +02:00
b7e493fca0 Tabs to spaces to be consistent
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
ef71a97e57 renamed chapter to section [skip ci] 2014-05-05 15:11:50 -04:00
3ac7240a74 Fixes #2344 2014-05-05 02:54:46 +04:00
5b8cf206b9 guide wip [skip ci] 2014-04-29 13:18:50 -04:00
fdefbc71c0 Reorganized guide. 2014-04-28 14:26:52 -04:00