-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I've got a MySQL 5.1.41 database which i'm trying to fill with doctrine, but doctrine does not insert the relations correctly. My YAML is:
Locatie:
connection: doctrine
tableName: locatie
columns:
loc_id:
type: integer(4)
fixed: false
unsigned: false
primary: true
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everybody,
I'm using Subsonic (simplerepository) and SQLite, and I have a class with an Int64 property marked as [SubSonicPrimaryKey]:
[SubSonicPrimaryKey]
public Int64 MyID;
which is transformed into:
[MyID] integer NOT NULL PRIMARY KEY AUTOINCREMENT
Is it possible to disable the AUTOINCREMENT…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
This feels like a completely basic question, but, for the life of me, I can't seem to work out an elegant solution.
Basically, I am doing a Linq Query creating a new object from the query. In the new object, I want to generate a auto-incremented number to allow me to keep a selection order for…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
So, I'm trying to use Doctrine to retrieve some data. I have some basic code like this:
$conn = Doctrine_Manager::connection(CONNECTION_STRING);
$site = Doctrine_Core::getTable('Site')->find('00024');
echo $site->SiteName;
However, this keeps throwing a SQL error that 'column siteid does…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey all,
I'm trying to set some conditional statements for nested embedRelation() instances, and can't find a way to get any kind of option through to the second embedRelation.
I've got a "Measure-Page-Question" table relationship, and I'd like to be able to choose whether or not to display the…
>>> More