IIRC that’s a MySQL config option: https://stackoverflow.com/questions/2659684/why-my-tables-names-are-converted-into-lowercase-in-phpmyadmin
I am using wamp server 2.0 on Windows XP. Whenever I create a table with some uppercases in name, it is converted to lowercase. For example: I create: UserInfo phpmyadmin convert it to: userinfo ...Hide attachment content
how you recover from that for this specific issue, though, I’m not quite sure
looks like you can try setting
2 to keep them lower case, but allow for case-insensitive table lookups
thanks @Joe that's the path I'm heading down now. I thought 1 for that value would work but no go.
the lower casing should work in both directions (identifiers in CamelCase should match tables in notcamelcase), I thought.
try custom queries direct to the DB, perhaps it's something to do with SilverStripe enabling ANSI
Does anyone here have a strong preference for which pattern to use when creating a
- $obj = MyDataObject::create([
- 'Field' => 'Value',
- $obj = MyDataObject::create();
- $obj->Field = 'Value';
vs something else?
I notice if the later is well annotated, code-intel gives those properties quicker references, and make them traversable, but there's repeated use of the