Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

doctrine

0
votes
1 answer
45 views

How create best schema database with ratings system and available in month?

i will create schema the database MySQL. There are username, password etc and rating system and available in month. Standard it looks like this: id…
asked June 25, 2011 7:03 am CDT
Tifan33
0
votes
1 answers
27 views

Non-strictly conditional left join in DQL

I want to apologies if I haven't done enough research in google but to be honest I don't know exactly what to search for. My problem is with…
asked June 22, 2011 1:21 pm CDT
fanjabi
1
vote
4 answers
36 views

Should I have 1 or 2 tables for user personal addresses and user group addresses?

If I have users, as well as user groups (like a local astronomy group/club), and I want both to have a one to many relationship with street…
asked June 20, 2011 5:09 pm CDT
blacktie24
0
votes
1 answers
30 views

How to select last 24 hours Doctrine_Query with Symfony ?

I am trying to get all users who logged in in last day. How can I do it ? In yml the table for users uses Timestampable. I am using Doctrine 1.2 in…
asked June 20, 2011 7:49 am CDT
Ek Kosmos
0
votes
1 answers
40 views

Diff of two Doctrine_Collection instances

I have a collection of users who completed a certain test and a list of users who got an invite for that test. Now I'd like to fetch all the users…
asked June 16, 2011 6:42 am CDT
Jurian Sluiman
0
votes
1 answers
29 views

Doctrine search models not generated by generateModelsFromYaml()

I'm trying to build a search engine for my project with the search behavior of Doctrine, i followed the recomandation of the manual and build a YAML…
asked June 15, 2011 5:47 am CDT
DoesNotCompute
0
votes
2 answers
46 views

Persisting selected entities in mapped relationships in Doctrine 2

I am trying to map a relationship between 2 MySQL tables in Doctrine 2. My owning entity is 'Campaign', it joins to 'Channel'. When a campaign…
asked June 13, 2011 3:37 am CDT
Richard
0
votes
2 answers
27 views

Join and count in DQL

I have a MySQL command and I cannot find the equivalent in DQL. I am trying to fetch the list most commented posts. Here is the MySQL command :…
asked June 12, 2011 10:04 pm CDT
Quentin
1
vote
0 answers
40 views

User-defined routine in Doctrine 1.2?

I have to write an user-defined routine for my MySQL database (calculating distance function). Is it possible to define it in yaml schema file?…
asked June 9, 2011 9:41 pm CDT
Tom
0
votes
0 answers
60 views

How to force a Doctrine MongoDB ODM Document Proxy to convert to the 'original' document?

I have a document Person referenced in document User. When I retrieve User, it doesn't have a Person object embedded, but a Person proxy object. Is…
asked June 8, 2011 9:23 am CDT
Teun
0
votes
1 answers
38 views

How do I Connect to MySQL socket using Doctrine 1.2?

Following the directions at…
asked June 6, 2011 9:23 pm CDT
mctom987
0
votes
0 answers
41 views

Doctrine auto-truncate values on insert

I'm working on a script that reads XML from a third party partner and places the data in a database table. I have no control over the length or…
asked June 6, 2011 10:23 am CDT
atodd
0
votes
2 answers
29 views

Doctrine query runs slow why?

Hi, can any one help me out iam running a query using doctrine. i made indexing and foriegnkey reference for necessary tables here is my query echo…
asked June 3, 2011 7:03 am CDT
praneeth
0
votes
0 answers
36 views

Problem inserting into two related tables in MySQL with Doctrine

Im getting the following error when trying to update a table and a related table: Message: SQLSTATE[23000]: Integrity constraint violation: 1452…
asked June 2, 2011 4:33 pm CDT
la_f0ka
0
votes
2 answers
43 views

Two Database tables related in two different ways...?

Im sort of scratching my head on this one. Here's the scenario. Im using Doctrine and YAML schema files: I have a table User and a table Event User…
asked June 1, 2011 5:34 pm CDT
dtj
0
votes
1 answers
57 views

Doctrine ODM (MongoDB) - Get a complete array of an object?

Hey guys, iv'e got a problem to receive a complete array (with all the data of the embedded childs collections and objects) of my document. My…
asked May 27, 2011 11:32 am CDT
Stephan Salat
0
votes
1 answers
40 views

Doctrine ODM / MongoDB : in AND in queries

Hi all, I'm using Doctrine ODM with mongoDB. I'm trying to do queries like : $queryBuilder->field('array_field')->in('even_value_1',…
asked May 24, 2011 7:53 am CDT
Oktopus
0
votes
1 answers
59 views

Doctrine MongoDB ODM load referenced documents

Hey guys, how can i load a referenced document of a document? Example: $result =…
asked May 23, 2011 4:51 pm CDT
Stephan Salat
0
votes
0 answers
40 views

Handling Doctrine MongoDB query results

Hey guys, hey Jonathan, iv'e got a question to the iterator result handling with doctrine odm. $documentManager =…
asked May 23, 2011 1:37 am CDT
Stephan Salat
0
votes
0 answers
67 views

Doctrine Query Builder mysql Functions

Hi all, im atempting to create one of my old mysql queries in Doctrine Query Builder however im getting back an error Error: Expected known…
asked May 18, 2011 9:13 am CDT
Themodem
Pages : 1 | 2 | 3 | 4 | 5 >
98

doctrine

Tagged: doctrine
Related Tags
mysql × 76
php × 51
symfony × 25
mongodb × 15
orm × 10
doctrine2 × 10
database × 4
memcached × 4
dql × 4
sql × 3
mongo × 3
query × 3
php5 × 3
schema × 2
postgresql × 2
migration × 2
nosql × 2
yaml × 2
join × 2
myisam × 1
routines × 1
rdbms × 1