我的项目根目录中有一个Gruntfile.我还通过Bower在app/components/jquery目录中安装了jQuery.
作为我的Gruntfile的一部分,我想在jQuery Gruntfile上运行一些命令来构建库的自定义版本.
我如何从我的Gruntfile中获取?
我正在重写一些PHP/MySQL来与Laravel一起工作.我想做的一件事是使用Fluent Query Builder使数据库查询更简洁,但我有点迷失:
SELECT p.post_text, p.bbcode_uid, u.username, t.forum_id, t.topic_title, t.topic_time, t.topic_id, t.topic_poster
FROM phpbb_topics t, phpbb_posts p, phpbb_users u
WHERE t.forum_id = 9
AND p.post_id = t.topic_first_post_id
AND u.user_id = t.topic_poster
ORDER BY t.topic_time
DESC LIMIT 10
Run Code Online (Sandbox Code Playgroud)
这查询phpbb论坛并获取帖子:

我怎么能重写这个来使用Fluent Query Builder语法?