Skip to content

Commit 9773259

Browse files
committed
修复错误的链接地址
修复错误的链接地址
1 parent 0f6139b commit 9773259

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index_zh-CN.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ <h4><a name="events" href="#events">Event</a> <a href="http://laravel-china.org/
477477
</section>
478478

479479
<section class="cmd-description grid-item">
480-
<h4><a name="db" href="#db">DB</a> <a href="http://laravel-china.org/docs/5.1/5.0/database" title="Basic Database Usage @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
480+
<h4><a name="db" href="#db">DB</a> <a href="http://laravel-china.org/docs/5.1/database" title="Basic Database Usage @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
481481

482482
<h6>基本使用</h6>
483483
<pre class="prettyprint lang-php">
@@ -500,7 +500,7 @@ <h6>基本使用</h6>
500500
DB::commit();
501501
</pre>
502502

503-
<h6>查询语句构造器 <a href="http://laravel-china.org/docs/5.1/5.0/queries" title="Query Builder @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
503+
<h6>查询语句构造器 <a href="http://laravel-china.org/docs/5.1/queries" title="Query Builder @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
504504
<pre class="prettyprint lang-php">
505505
// 取得数据表的所有行
506506
DB::table('name')->get();
@@ -566,7 +566,7 @@ <h6>查询语句构造器 <a href="http://laravel-china.org/docs/5.1/5.0/queries
566566
$users = DB::table('users')->skip(10)->take(5)->get();
567567
</pre>
568568

569-
<h6>Joins <a href="http://laravel-china.org/docs/5.1/5.0/queries#joins" title="Joins @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
569+
<h6>Joins <a href="http://laravel-china.org/docs/5.1/queries#joins" title="Joins @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
570570
<pre class="prettyprint lang-php">
571571
// 基本的 Join 声明语句
572572
DB::table('users')
@@ -589,7 +589,7 @@ <h6>Joins <a href="http://laravel-china.org/docs/5.1/5.0/queries#joins" title="J
589589
->get();
590590
</pre>
591591

592-
<h6>聚合 <a href="http://laravel-china.org/docs/5.1/5.0/queries#aggregates" title="Aggregates @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
592+
<h6>聚合 <a href="http://laravel-china.org/docs/5.1/queries#aggregates" title="Aggregates @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
593593
<pre class="prettyprint lang-php">
594594
$users = DB::table('users')->count();
595595
$price = DB::table('orders')->max('price');
@@ -603,7 +603,7 @@ <h6>聚合 <a href="http://laravel-china.org/docs/5.1/5.0/queries#aggregates" ti
603603
DB::table('name')->cacheTags(array('my-first-key','my-second-key'))->remember(5)->get();
604604
</pre>
605605

606-
<h6>原始表达句<a href="http://laravel-china.org/docs/5.1/5.0/queries#raw-expressions" title="Raw Expressions @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
606+
<h6>原始表达句<a href="http://laravel-china.org/docs/5.1/queries#raw-expressions" title="Raw Expressions @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
607607
<pre class="prettyprint lang-php">
608608
$users = DB::table('users')
609609
->select(DB::raw('count(*) as user_count, status'))
@@ -659,7 +659,7 @@ <h6>Inserts / Updates / Deletes / Unions / Pessimistic Locking</h6>
659659

660660
<section class="cmd-description grid-item">
661661
<h4><a name="eloquent" href="#eloquent">Model</a> <a href="http://laravel-china.org/docs/5.1/eloquent" title="Eloquent @ Laravel Docs"><i class="icon-file-text"></i></a></h4>
662-
<h6>基础使用 <a href="http://laravel-china.org/docs/5.1/5.0/eloquent#basic-usage" title="Basic Usage @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
662+
<h6>基础使用 <a href="http://laravel-china.org/docs/5.1/eloquent#basic-usage" title="Basic Usage @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
663663
<pre class="prettyprint lang-php">
664664
// 定义一个 Eloquent 模型
665665
class User extends Model {}
@@ -715,7 +715,7 @@ <h6>More</h6>
715715
Model::all()->orderBy('column','desc');
716716
</pre>
717717

718-
<h6>软删除 <a href="http://laravel-china.org/docs/5.1/5.0/eloquent#soft-deleting" title="Soft Deleting @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
718+
<h6>软删除 <a href="http://laravel-china.org/docs/5.1/eloquent#soft-deleting" title="Soft Deleting @ Laravel Docs"><i class="icon-file-text"></i></a></h6>
719719
<pre class="prettyprint lang-php">
720720
Model::withTrashed()->where('cars', 2)->get();
721721
// 在查询结果中包括带被软删除的模型

0 commit comments

Comments
 (0)