Doctrine 2.0选择查询问题? [英] Doctrine 2.0 select query problem?

查看:145
本文介绍了Doctrine 2.0选择查询问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的朋友,我是新的DOctrine 2.0 .i已经配置,但它不工作...

i friends i am new to DOctrine 2.0 .i already configure but it is not working ...

我有一个表 abctable 在数据库 xyzdb

        id  name   age

        --------------
        1   Abc     23  
        2   Ijk     21
        3   Mno     32  
        -------------- 

Table name:abctable
db name:xyzdb
host    :127.0.0.1
dbusername:king
dbpassword:123456

在上述配置中。如何配置使用doctrine 2.0版本。

In this above configuration .How to configure using doctrine 2.0 Version.

And how to use query --"select * from abctable" in Doctrine 2.0  

version.Select,insert,delect,update给一个例子...请帮助...

version.Select ,insert,delect,update give one example..please help...

推荐答案

我建议您阅读文档: http://www.doctrine-project.org/d ocs / orm / 2.0 / en / ,具体是关于配置的一节 http://www.doctrine-project.org/docs/orm/2.0/en/reference/configuration.html ,让您开始。

I suggest you read the documentation: http://www.doctrine-project.org/docs/orm/2.0/en/, specifically the section on configuration http://www.doctrine-project.org/docs/orm/2.0/en/reference/configuration.html to get you started.

这篇关于Doctrine 2.0选择查询问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆