Questions tagged [dbal]

Database Abstraction Layer for Doctrine ORM (PHP)

Database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.

261 questions
0
votes
1 answer

How to change input types in existing form using Symfony2?

I've got form class where I'm defining some inputs, something liek this: class User extends AbstractType { public function buildForm(FormBuilder $builder, array $options) { $builder->add('mail', 'text', array('label' => 'Mail')) …
pamil
  • 980
  • 2
  • 10
  • 20
-1
votes
4 answers

Good Alternative DBAL to Doctrine2 DBAL

I have a simple application that is set up to use Docrine2 DBAL, the problem is it needs to run on a host that only supports php 5.2.6. Doctrine requires PHP 5.3... What is a good alternative Database Abstraction Layer for PHP? Should I simply…
Mike
  • 12,359
  • 17
  • 65
  • 86
-1
votes
1 answer

"php app/console doctrine:schema:update --force" gives a syntax error

I have an error when I run php app/console doctrine:schema:update --force in a symfony project and i get the following error: [Doctrine\DBAL\DBALException] …
Andy
  • 2,892
  • 2
  • 26
  • 33
-2
votes
2 answers

How php artisan migrate command uses Connection.php file?

I am trying to fix the bug with my Laravel project build and want to understand what steps exactly are done by php artisan migrate command. The project uses my custom package. I've created a migration in the package, which adds a new column to the…
-2
votes
2 answers

Getting ids of inserted raws via doctrine dbal

I'm working on a symfony application, and i need to insert multiple raws at once, Doctrine ORM is not a good option because for each raw it will open a connection to execute the query, to avoid this and have one connection inserting all the raws i…
ZeSoft
  • 305
  • 2
  • 4
  • 13
-5
votes
2 answers

Symfony 2.5 and own models

In Symfony I'm using default ORM Doctrine, but this tool can't give me enough methods to manipulate with different cases. I want to write my own classes and using something like DBAL, just for connections making custom SQL queries and fetch the…
madberdin
  • 47
  • 8
1 2 3
17
18