• skip to content

fl8 Wiki

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: Dokuwiki.fl8.jp » デー
Trace: • 2022.06.11 Thinkpad X1 の壁紙 • 2024.06.17 お名前 共用サーバーSDプラン のDMARC • 2023.05.15 Let's Encrypt 証明書削除 • 08 vzabackup • 2016.05.23 ギブ・ミー・ア・チャンス • 35 GPT対応大容量ディスクにパーティションを追加(parted)

デー

Search

You can find the results of your search below.

Exact match
  • Exact match
  • Starts with
  • Ends with
  • Contains
@11_php:02_framework:01_laravel
  • Any namespace
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • 17 Laravel 複数データベース接続

Fulltext results:

17 Laravel 複数データベース接続
5 Hits, Last modified: 7 years ago
====== 17 Laravel 複数データベース接続 ====== ===== Laravel 5.x ===== ==== .env ==== <code> DB_CONNECTION=mysq... => '', ), ), ); </code> ===== 複数のデータベースに接続コントロール側 ===== ==== Schemaでデータベースへ接続 ==== <code> Schema::connection('mysql2')->create('some_ta... increments('id'): }); </code> ==== Query Builderでデータベースへ接続 ==== <code> $users = DB::connection('mysql
29 Laravel Custom Validation
5 Hits, Last modified: 7 years ago
9 Laravel Custom Validation ====== Laravelでカスタムバリデーションを作成する方法 ===== サービスプロバイダ作成 ===== php artisan... iceProvider::class, ... </code> ===== カスタムバリデーションのルール作成 ===== <color #ed1c24>※カスタムバリデーションのメソッド名は、必ずvalidateXXXXという名前にする</color> <code|app/CustomVa... minate\Validation\Validator { /** * なまえのバリデーション * * @param $attribute * @param $va
14 Laravel Model
3 Hits, Last modified: 5 years ago
とは、MVCアーキテクチャ(Model View Controller)の「M」にあたる部分で、主にデータベースとの連携を行います。 LaravelにおけるModelは、Eloquent(DBのデータを操作する実装)の機能とビジネスロジックを持ったクラスです。 基本的には1つのテーブルに1つのModel... _create_test_tables.php </code> ==== Seedsを用意(初期データインサート) ==== <code> php artisan make:seed TestTab
13 laravel-admin
1 Hits, Last modified: 7 years ago
以上にすれば、PRIMARY_KEYおよびUNIQUE_KEYを付けたカラムに767bytes以上のデータが入る。 === 2.charasetをutf8mb4から変更 === laravel側のcha
25 Laravel Model毎にDBを選択
1 Hits, Last modified: 7 years ago
del側で、「protected $connection」を指定してあげるだけで可能です。 複数のデータベースは [[11_php:02_framework:01_laravel:17_laravel_
28 Laravel Voyager フロントページ用意
1 Hits, Last modified: 5 years ago
front-end ===== Post ===== ==== 一覧ページ ==== Postのデータ一覧を表示するページ === 1.コントローラ === コントローラ作成 ※コントローラ内でテ
30 Laravel Mail
1 Hits, Last modified: 4 years ago
['contact' => $this->contact]); // withオプションでセットしたデータをテンプレートへ受け渡す } } </code> ===== 5.コントローラ設定 =
34 Laravel テーブル更新エラーfillable
1 Hits, Last modified: 7 years ago
更新エラーfillable ====== LaravelではEloquentでfillでアップデートしようとした時、 fillable で更新カラムが許可されてないと、下記のエラーが出ます。 ==

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
CC Attribution-Noncommercial-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki