EUNO.NEWS EUNO.NEWS
  • All (20335)
  • AI (3102)
  • DevOps (910)
  • Software (10501)
  • IT (5776)
  • Education (45)
  • Notice (1)
  • All (20335)
    • AI (3102)
    • DevOps (910)
    • Software (10501)
    • IT (5776)
    • Education (45)
  • Notice (1)
  • All (20335)
  • AI (3102)
  • DevOps (910)
  • Software (10501)
  • IT (5776)
  • Education (45)
  • Notice (1)
Sources Tags Search
한국어 English 中文
  • 2주 전 · software

    Laravel이 당신의 Factory 관계를 추측할 수 없는 이유

    Laravel factories는 테스트를 매우 쉽게 만들어 주며, 특히 모델 간에 관계가 있을 때 더욱 그렇습니다. 하지만 하나의 모델이 동일한 대상 모델에 대해 여러 관계를 가질 경우, ...

    #laravel #php #eloquent #model-factories #testing #relationships #unit-testing
  • 1개월 전 · software

    Laravel Eloquent에서 사용자 정의 타임스탬프 컬럼 사용하기

    created_at와 updated_at의 컬럼 이름을 커스터마이즈해야 한다면, 데이터베이스 수준에서 할 수 있습니다. / 마이그레이션을 실행합니다. / public function up: void {...

    #Laravel #Eloquent #PHP #custom timestamps #database migrations #created_at #updated_at
  • 1개월 전 · software

    간과된 라라벨 기능 두 가지: `fresh()`와 속성 가시성

    fresh 메서드를 사용한 모델 재로드는 Laravel의 fresh 메서드를 이용해 모델이나 전체 컬렉션을 데이터베이스에서 다시 로드할 수 있게 하며, 최신 데이터를 사용하고 있음을 보장합니다.

    #Laravel #Eloquent #fresh() #attribute visibility #PHP #model serialization #ORM
  • 1개월 전 · software

    💡 두 가지 덜 알려진 Laravel 트릭: numerify & invisible

    Eloquent 팩토리에서 numerify Faker의 numerify 메서드는 문자를 무작위 숫자로 교체할 수 있게 합니다. php public function definition: array { return 'p...

    #Laravel #Eloquent #Faker #numerify #invisible #PHP #database migrations #hidden columns
EUNO.NEWS
RSS GitHub © 2026