Guest User

Untitled

a guest
Oct 23rd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Tables:
  2.  
  3. tag:
  4. id:
  5.  
  6. tag_translation:
  7. id
  8. name
  9. lang
  10.  
  11.  
  12. I have this content
  13.  
  14. 2 tags in the tag table:
  15.  
  16. tag:
  17.  
  18. First record:
  19.  
  20. id: 1
  21.  
  22. First record:
  23.  
  24. id: 2
  25.  
  26. 3 records in tag_translation:
  27.  
  28. tag_translation:
  29.  
  30. First record:
  31. id: 1
  32. lang: es
  33. name: hola
  34.  
  35. Second record:
  36. id: 1
  37. lang: en
  38. name: hello
  39.  
  40. Third record:
  41. id: 2
  42. lang: en
  43. name: testing
  44.  
  45.  
  46. How can i build a Doctrine_Query to get a list of spanish tags not translated to english and backwards?
Add Comment
Please, Sign In to add comment