Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

你好, 请教一个关于laravel的 DB 基本用法迁移的问题 #2

Closed
fizzcome opened this issue May 5, 2016 · 1 comment
Closed

Comments

@fizzcome
Copy link

fizzcome commented May 5, 2016

如这里所说: http://stackoverflow.com/questions/27956821/can-i-use-dbtabletags-outside-of-laravel
网上有很多教程移植 Eloquent , 并且可以使用成功, 如移植到 codeigniter 中, 可以直接使用 Active Record 用法(User::first());
可是, 如何移植他的基本用法呢 ? 如: DB::table('user')->get();

@xiaoler
Copy link
Owner

xiaoler commented May 5, 2016

你发的链接里一楼的答案不就是吗?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants