propel Questions

3

Solved

How does this SQL statement translate into Propel (1.6.3)? SELECT * FROM table_a JOIN table_b With tableA and tableB sharing no Foreign Keys and having no relationships defined. TableAQuery::cr...
Critchfield asked 19/9, 2013 at 8:44

10

Solved

I'm starting a new project with symfony which is readily integrated with Doctrine and Propel, but I of course need to make a choice.... I was wondering if more experienced people out there ha...
Lugansk asked 14/1, 2010 at 5:59

4

I'm tryng from several days to setup and use Propel now 2.0. PHP version is 5.4.4-14+deb7u5 What I have done: 0) Fresh LAMP with a folder "test" in /var/www 1) Composer.json with { "require": ...
Fingering asked 2/11, 2013 at 10:52

6

Solved

I am using the following feature from propel http://www.propelorm.org/documentation/09-inheritance.html. I am also using Symfony2 and Twig I have a class structure using the above feature that lo...
Cupboard asked 11/4, 2012 at 20:28

1

I'm trying to use FOSRestBundle's request body converter but my current implementation doesn't seem to work. I am using Symfony2, Propel, AngularJS (it sends data to server) What am i doing wron...
Achromaticity asked 2/2, 2014 at 15:2

2

I'm new to propel, and I'm looking for a way to increment a value in my MySQL database, without having to do a full read-update-write cycle. Such as this: UPDATE books SET popularity = popularity ...
Buffon asked 23/9, 2015 at 16:17

4

Solved

I am using Propel 2. I am hydrating objects through the relations, like so: $return = OrderQuery::create() ->joinWith('Customer') ->joinWith('Status') ->find() ->toArray(TableMap::...
Impanation asked 29/6, 2016 at 13:28

4

Solved

I would like to know whether Redbean ORM can be used for performance oriented scenarios like social networking web apps or no and is it stable even if thousands of data are pulled by multiple...
Jefe asked 14/10, 2011 at 8:38

2

Solved

I am trying to use propel with composer but I'm getting errors. My composer.json is: { "require": { "propel/propel" : "*" } } and the error is: Problem 1 - The requested package propel/pr...
Photographer asked 7/7, 2012 at 21:34

2

Solved

We have created a collection using propel and Symfony2 forms. We can save the form without any problems and we can add a second option using the collection. If we then save and then try to add a 3r...
Chestonchest asked 13/10, 2015 at 14:49

1

Solved

I work on a website running on Propel ORM and I have this query: if(isset($args["QueryText"]) && $args["QueryText"] != "") { $query = $query ->withColumn("(MATCH (Request.Subject, Req...
Berthold asked 21/10, 2015 at 16:2

1

Env: Symfony2 2.7 / Propel 1.6 I've created a choice form type like that: $builder->add('mychoice', 'model', array( 'class' => 'Foo\\Bar', 'query' => FooBarQuery::create()->filterB...
Leveller asked 16/9, 2015 at 7:23

4

Solved

I have a big php object that I want to serialize and store in a MySql database. The table encoding is UTF-8 and the column to hold the serialized object encoding is also UTF-8. The problem is the ...
Neck asked 2/2, 2012 at 8:21

4

Solved

I have a question about using the propel ORM and creating a query. I have a table "locations" with fields: location sublocation postcode street number Now I want to select all the l...
Donica asked 24/8, 2013 at 10:13

2

Solved

I'm struggling to get propel to connect to a database. I've created mapped the classes and table maps using propel reverse "...", and created the following structure: propel.ini [propel] # A b...
Pitta asked 6/7, 2015 at 10:45

2

Can someone point me in the right direction to do a "user follows" kind of thing. I have 3 tables: users, user_follows, and a posts. If I hydrate a user object, I can get an array of users id's th...
Remediosremedy asked 19/5, 2015 at 1:5

1

Solved

Propel uses Peer classes, and doctrine used Table classes as a way to manipulate respective objects and object properties, without having to pollute the actual object with static methods. After c...
Hearthstone asked 26/5, 2015 at 18:8

4

Solved

Is there any plugin that directly exports MYSQL Workbench data model directly to YML for Propel consumption?
Mythologize asked 1/3, 2009 at 9:47

1

Solved

I used Propel ORM to duplicate a table schema, in order to do continuous integration, but Propel only gets me a fully fleshed out schema, it doesn't get me test data (or basic necessary data at all...

2

Solved

I've tried the solutions from other answers, but so far none have resolved: PDOException 42000 SQLSTATE[42000]: Syntax error or access violation: 1148 The used command is not allowed with this My...
Abrasive asked 4/2, 2015 at 15:27

2

Solved

I am trying to use migrations for the first time on my in-development Propel project (so I don't have to re-insert 15MB of data), but am having some difficulties. I made the changes in my schema an...
Izzard asked 18/6, 2013 at 21:32

1

Solved

Looking at the source code of Propel (the PHP ORM library), I have found this method inside the propel/propel1/runtime/lib/query/Criteria.php file: /** * Set offset. * * @param int $offset An ...
Ruralize asked 14/1, 2015 at 17:57

1

Solved

I have Sonata Admin up and running Using Propel with two models/Admin class defined; Portfolio and Image, where a portfolio item can have many images. I have an ImageAdmin that allows for the ima...
Calvano asked 7/11, 2014 at 13:51

2

Solved

How do I get the raw SQL statement from a query object in Propel? I need this for debugging purposes. For example: I would like to have a function as in $rawSql = new BookQuery::create()->filt...
Shriver asked 2/5, 2013 at 11:6

5

Solved

I'm using Propel 1.6 and I'm not sure how to get an object (given its "id" attribute value) from a propel object collection. I could not find a straight answer in Propel's documentation (PropelColl...
Erme asked 3/9, 2012 at 16:30

© 2022 - 2024 — McMap. All rights reserved.