摘要: 简介编写数据填充类使用模型工厂类调用额外填充类执行填充#简介Laravel includes a simple method of seeding your database with test data using seed classes. All seed classes are stored... 阅读全文
posted @ 2015-07-02 14:38 grkin 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 介绍建立迁移文件迁移文件结构执行迁移回滚迁移填写迁移文件创建表重命名/ 删除表创建字段修改字段删除字段建立索引删除索引外键约束#介绍Migrations are like version control for your database, allowing a team to easily mod... 阅读全文
posted @ 2015-07-02 14:37 grkin 阅读(452) 评论(0) 推荐(0) 编辑
摘要: Introduction Retrieving Results Aggregates Selects Joins Unions Where Clauses Advanced Where Clauses Ordering, Grouping, Limit, & O... 阅读全文
posted @ 2015-07-02 14:36 grkin 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 简介 运行原生SQL查询 监听查询事件 数据库事务 使用多数据库连接 简介 Laravel makes connecting with databases and running queries extremely simple across a variety of database back-ends using eithe... 阅读全文
posted @ 2015-07-02 14:34 grkin 阅读(595) 评论(0) 推荐(0) 编辑