{"action":"created","comment":{"url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/comments/34170778","id":34170778,"diff_hunk":"@@ -1,47 +1,47 @@\n-# Eloquent: Getting Started\n-\n-- [Introduction](#introduction)\n-- [Defining Models](#defining-models)\n-\t- [Eloquent Model Conventions](#eloquent-model-conventions)\n-- [Retrieving Multiple Models](#retrieving-multiple-models)\n-- [Retrieving Single Models / Aggregates](#retrieving-single-models)\n-\t- [Retrieving Aggregates](#retrieving-aggregates)\n-- [Inserting & Updating Models](#inserting-and-updating-models)\n-\t- [Basic Inserts](#basic-inserts)\n-\t- [Basic Updates](#basic-updates)\n-\t- [Mass Assignment](#mass-assignment)\n-- [Deleting Models](#deleting-models)\n-\t- [Soft Deleting](#soft-deleting)\n-\t- [Querying Soft Deleted Models](#querying-soft-deleted-models)\n-- [Query Scopes](#query-scopes)\n-- [Events](#events)\n+# Eloquent: 入門\n+\n+- [介紹](#introduction)\n+- [定義模型](#defining-models)\n+\t- [Eloquent 模型規範](#eloquent-model-conventions)\n+- [取得多個模型](#retrieving-multiple-models)\n+- [取得單一模型／聚合](#retrieving-single-models)\n+\t- [取得聚合查詢](#retrieving-aggregates)\n+- [新增和更新模型](#inserting-and-updating-models)\n+\t- [基本新增](#basic-inserts)\n+\t- [基本更新](#basic-updates)\n+\t- [批量賦值](#mass-assignment)\n+- [刪除模型](#deleting-models)\n+\t- [軟刪除](#soft-deleting)\n+\t- [查詢軟刪除的模型](#querying-soft-deleted-models)\n+- [查詢範圍](#query-scopes)\n+- [事件](#events)\n \n <a name=\"introduction\"></a>\n-## Introduction\n+## 介紹\n \n-The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding \"Model\" which is used to interact with that table. Models allow you to query for data in your tables, as well as insert new records into the table.\n+Laravel 提供了漂亮、簡潔的 ActiveRecord 實作來和資料庫互動。每個資料庫表會和一個對應的「模型」互動。你可以透過模型搜尋資料表內的資料，以及新增記錄到資料表中。\n \n-Before getting started, be sure to configure a database connection in `config/database.php`. For more information on configuring your database, check out [the documentation](/docs/{{version}}/database#configuration).\n+在開始之前，確認你的資料庫連結設定在 `config/database.php` 檔案內。更多連結資料庫的設定資訊，請參考 [資料庫設定](/docs/{{version}}/database#configuration)。","path":"eloquent.md","position":44,"original_position":44,"commit_id":"0fbaeff465f81200e0c79891b94e67af26ce3e9a","original_commit_id":"0fbaeff465f81200e0c79891b94e67af26ce3e9a","user":{"login":"chentsulin","id":3382565,"avatar_url":"https://avatars.githubusercontent.com/u/3382565?v=3","gravatar_id":"","url":"https://api.github.com/users/chentsulin","html_url":"https://github.com/chentsulin","followers_url":"https://api.github.com/users/chentsulin/followers","following_url":"https://api.github.com/users/chentsulin/following{/other_user}","gists_url":"https://api.github.com/users/chentsulin/gists{/gist_id}","starred_url":"https://api.github.com/users/chentsulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chentsulin/subscriptions","organizations_url":"https://api.github.com/users/chentsulin/orgs","repos_url":"https://api.github.com/users/chentsulin/repos","events_url":"https://api.github.com/users/chentsulin/events{/privacy}","received_events_url":"https://api.github.com/users/chentsulin/received_events","type":"User","site_admin":false},"body":"請參考 後面多了空格","created_at":"2015-07-08T16:54:59Z","updated_at":"2015-07-08T16:54:59Z","html_url":"https://github.com/laravel-taiwan/docs/pull/189#discussion_r34170778","pull_request_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/189","_links":{"self":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/comments/34170778"},"html":{"href":"https://github.com/laravel-taiwan/docs/pull/189#discussion_r34170778"},"pull_request":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/189"}}},"pull_request":{"url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/189","id":39476717,"html_url":"https://github.com/laravel-taiwan/docs/pull/189","diff_url":"https://github.com/laravel-taiwan/docs/pull/189.diff","patch_url":"https://github.com/laravel-taiwan/docs/pull/189.patch","issue_url":"https://api.github.com/repos/laravel-taiwan/docs/issues/189","number":189,"state":"open","locked":false,"title":"translate eloquent.md","user":{"login":"neighborhood999","id":10325111,"avatar_url":"https://avatars.githubusercontent.com/u/10325111?v=3","gravatar_id":"","url":"https://api.github.com/users/neighborhood999","html_url":"https://github.com/neighborhood999","followers_url":"https://api.github.com/users/neighborhood999/followers","following_url":"https://api.github.com/users/neighborhood999/following{/other_user}","gists_url":"https://api.github.com/users/neighborhood999/gists{/gist_id}","starred_url":"https://api.github.com/users/neighborhood999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neighborhood999/subscriptions","organizations_url":"https://api.github.com/users/neighborhood999/orgs","repos_url":"https://api.github.com/users/neighborhood999/repos","events_url":"https://api.github.com/users/neighborhood999/events{/privacy}","received_events_url":"https://api.github.com/users/neighborhood999/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-08T13:29:34Z","updated_at":"2015-07-08T16:54:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f827c4d37a6a576b39eb725b2d173d25b2721ba4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/189/commits","review_comments_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/189/comments","review_comment_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laravel-taiwan/docs/issues/189/comments","statuses_url":"https://api.github.com/repos/laravel-taiwan/docs/statuses/0fbaeff465f81200e0c79891b94e67af26ce3e9a","head":{"label":"neighborhood999:5.1","ref":"5.1","sha":"0fbaeff465f81200e0c79891b94e67af26ce3e9a","user":{"login":"neighborhood999","id":10325111,"avatar_url":"https://avatars.githubusercontent.com/u/10325111?v=3","gravatar_id":"","url":"https://api.github.com/users/neighborhood999","html_url":"https://github.com/neighborhood999","followers_url":"https://api.github.com/users/neighborhood999/followers","following_url":"https://api.github.com/users/neighborhood999/following{/other_user}","gists_url":"https://api.github.com/users/neighborhood999/gists{/gist_id}","starred_url":"https://api.github.com/users/neighborhood999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neighborhood999/subscriptions","organizations_url":"https://api.github.com/users/neighborhood999/orgs","repos_url":"https://api.github.com/users/neighborhood999/repos","events_url":"https://api.github.com/users/neighborhood999/events{/privacy}","received_events_url":"https://api.github.com/users/neighborhood999/received_events","type":"User","site_admin":false},"repo":{"id":37724978,"name":"docs","full_name":"neighborhood999/docs","owner":{"login":"neighborhood999","id":10325111,"avatar_url":"https://avatars.githubusercontent.com/u/10325111?v=3","gravatar_id":"","url":"https://api.github.com/users/neighborhood999","html_url":"https://github.com/neighborhood999","followers_url":"https://api.github.com/users/neighborhood999/followers","following_url":"https://api.github.com/users/neighborhood999/following{/other_user}","gists_url":"https://api.github.com/users/neighborhood999/gists{/gist_id}","starred_url":"https://api.github.com/users/neighborhood999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neighborhood999/subscriptions","organizations_url":"https://api.github.com/users/neighborhood999/orgs","repos_url":"https://api.github.com/users/neighborhood999/repos","events_url":"https://api.github.com/users/neighborhood999/events{/privacy}","received_events_url":"https://api.github.com/users/neighborhood999/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neighborhood999/docs","description":"Laravel Framework 繁體中文文件","fork":true,"url":"https://api.github.com/repos/neighborhood999/docs","forks_url":"https://api.github.com/repos/neighborhood999/docs/forks","keys_url":"https://api.github.com/repos/neighborhood999/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neighborhood999/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neighborhood999/docs/teams","hooks_url":"https://api.github.com/repos/neighborhood999/docs/hooks","issue_events_url":"https://api.github.com/repos/neighborhood999/docs/issues/events{/number}","events_url":"https://api.github.com/repos/neighborhood999/docs/events","assignees_url":"https://api.github.com/repos/neighborhood999/docs/assignees{/user}","branches_url":"https://api.github.com/repos/neighborhood999/docs/branches{/branch}","tags_url":"https://api.github.com/repos/neighborhood999/docs/tags","blobs_url":"https://api.github.com/repos/neighborhood999/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neighborhood999/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neighborhood999/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/neighborhood999/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neighborhood999/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/neighborhood999/docs/languages","stargazers_url":"https://api.github.com/repos/neighborhood999/docs/stargazers","contributors_url":"https://api.github.com/repos/neighborhood999/docs/contributors","subscribers_url":"https://api.github.com/repos/neighborhood999/docs/subscribers","subscription_url":"https://api.github.com/repos/neighborhood999/docs/subscription","commits_url":"https://api.github.com/repos/neighborhood999/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/neighborhood999/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/neighborhood999/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/neighborhood999/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/neighborhood999/docs/contents/{+path}","compare_url":"https://api.github.com/repos/neighborhood999/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neighborhood999/docs/merges","archive_url":"https://api.github.com/repos/neighborhood999/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neighborhood999/docs/downloads","issues_url":"https://api.github.com/repos/neighborhood999/docs/issues{/number}","pulls_url":"https://api.github.com/repos/neighborhood999/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/neighborhood999/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/neighborhood999/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neighborhood999/docs/labels{/name}","releases_url":"https://api.github.com/repos/neighborhood999/docs/releases{/id}","created_at":"2015-06-19T14:02:52Z","updated_at":"2015-06-19T00:34:35Z","pushed_at":"2015-07-08T13:28:24Z","git_url":"git://github.com/neighborhood999/docs.git","ssh_url":"git@github.com:neighborhood999/docs.git","clone_url":"https://github.com/neighborhood999/docs.git","svn_url":"https://github.com/neighborhood999/docs","homepage":"http://laravel.tw/docs/","size":4665,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"5.1"}},"base":{"label":"laravel-taiwan:5.1","ref":"5.1","sha":"de9b4c9a6bec12ac54ec38a0579fb7c0e65bcd2d","user":{"login":"laravel-taiwan","id":6195619,"avatar_url":"https://avatars.githubusercontent.com/u/6195619?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel-taiwan","html_url":"https://github.com/laravel-taiwan","followers_url":"https://api.github.com/users/laravel-taiwan/followers","following_url":"https://api.github.com/users/laravel-taiwan/following{/other_user}","gists_url":"https://api.github.com/users/laravel-taiwan/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel-taiwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel-taiwan/subscriptions","organizations_url":"https://api.github.com/users/laravel-taiwan/orgs","repos_url":"https://api.github.com/users/laravel-taiwan/repos","events_url":"https://api.github.com/users/laravel-taiwan/events{/privacy}","received_events_url":"https://api.github.com/users/laravel-taiwan/received_events","type":"Organization","site_admin":false},"repo":{"id":15297985,"name":"docs","full_name":"laravel-taiwan/docs","owner":{"login":"laravel-taiwan","id":6195619,"avatar_url":"https://avatars.githubusercontent.com/u/6195619?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel-taiwan","html_url":"https://github.com/laravel-taiwan","followers_url":"https://api.github.com/users/laravel-taiwan/followers","following_url":"https://api.github.com/users/laravel-taiwan/following{/other_user}","gists_url":"https://api.github.com/users/laravel-taiwan/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel-taiwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel-taiwan/subscriptions","organizations_url":"https://api.github.com/users/laravel-taiwan/orgs","repos_url":"https://api.github.com/users/laravel-taiwan/repos","events_url":"https://api.github.com/users/laravel-taiwan/events{/privacy}","received_events_url":"https://api.github.com/users/laravel-taiwan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel-taiwan/docs","description":"Laravel Framework 繁體中文文件","fork":true,"url":"https://api.github.com/repos/laravel-taiwan/docs","forks_url":"https://api.github.com/repos/laravel-taiwan/docs/forks","keys_url":"https://api.github.com/repos/laravel-taiwan/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel-taiwan/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel-taiwan/docs/teams","hooks_url":"https://api.github.com/repos/laravel-taiwan/docs/hooks","issue_events_url":"https://api.github.com/repos/laravel-taiwan/docs/issues/events{/number}","events_url":"https://api.github.com/repos/laravel-taiwan/docs/events","assignees_url":"https://api.github.com/repos/laravel-taiwan/docs/assignees{/user}","branches_url":"https://api.github.com/repos/laravel-taiwan/docs/branches{/branch}","tags_url":"https://api.github.com/repos/laravel-taiwan/docs/tags","blobs_url":"https://api.github.com/repos/laravel-taiwan/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel-taiwan/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel-taiwan/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel-taiwan/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel-taiwan/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel-taiwan/docs/languages","stargazers_url":"https://api.github.com/repos/laravel-taiwan/docs/stargazers","contributors_url":"https://api.github.com/repos/laravel-taiwan/docs/contributors","subscribers_url":"https://api.github.com/repos/laravel-taiwan/docs/subscribers","subscription_url":"https://api.github.com/repos/laravel-taiwan/docs/subscription","commits_url":"https://api.github.com/repos/laravel-taiwan/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel-taiwan/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel-taiwan/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel-taiwan/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel-taiwan/docs/contents/{+path}","compare_url":"https://api.github.com/repos/laravel-taiwan/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel-taiwan/docs/merges","archive_url":"https://api.github.com/repos/laravel-taiwan/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel-taiwan/docs/downloads","issues_url":"https://api.github.com/repos/laravel-taiwan/docs/issues{/number}","pulls_url":"https://api.github.com/repos/laravel-taiwan/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel-taiwan/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel-taiwan/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel-taiwan/docs/labels{/name}","releases_url":"https://api.github.com/repos/laravel-taiwan/docs/releases{/id}","created_at":"2013-12-19T00:42:13Z","updated_at":"2015-06-24T07:42:31Z","pushed_at":"2015-07-08T13:29:34Z","git_url":"git://github.com/laravel-taiwan/docs.git","ssh_url":"git@github.com:laravel-taiwan/docs.git","clone_url":"https://github.com/laravel-taiwan/docs.git","svn_url":"https://github.com/laravel-taiwan/docs","homepage":"http://laravel.tw/docs/","size":5921,"stargazers_count":44,"watchers_count":44,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":3,"forks":38,"open_issues":3,"watchers":44,"default_branch":"5.1"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/189"},"html":{"href":"https://github.com/laravel-taiwan/docs/pull/189"},"issue":{"href":"https://api.github.com/repos/laravel-taiwan/docs/issues/189"},"comments":{"href":"https://api.github.com/repos/laravel-taiwan/docs/issues/189/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/189/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laravel-taiwan/docs/pulls/189/commits"},"statuses":{"href":"https://api.github.com/repos/laravel-taiwan/docs/statuses/0fbaeff465f81200e0c79891b94e67af26ce3e9a"}}}}