# |
Jul 6th 2018, 10:07 |
k4t |
@lorenzo is it possible to change SORT ORDER in sortBy callback function? |
# |
Jul 6th 2018, 10:05 |
iqu |
view uses datepicker |
# |
Jul 6th 2018, 10:03 |
iqu |
easy way would be just to change all in $this->request->getData(); array |
# |
Jul 6th 2018, 10:02 |
iqu |
have many date coming from view in format: 'effective_from' => '20-12-2018', Best wayt to convert into something that date object accepts? |
# |
Jul 6th 2018, 09:41 |
josbeir |
right... |
# |
Jul 6th 2018, 09:41 |
braeden |
because the performance grinds to a halt when using secondary indexes (i.e. querying a bunch of records by a non-primary key) |
# |
Jul 6th 2018, 09:41 |
braeden |
You can't do any of the nice things that you can do with MySQL/SQL |
# |
Jul 6th 2018, 09:40 |
josbeir |
sql users feel right at home it seems |
# |
Jul 6th 2018, 09:40 |
josbeir |
not bad |
# |
Jul 6th 2018, 09:39 |
braeden |
but the DML is very restrictive |
# |
Jul 6th 2018, 09:39 |
braeden |
or Elastic, so can't say |
# |
Jul 6th 2018, 09:39 |
braeden |
I haven't really fiddled with Mongo |
# |
Jul 6th 2018, 09:39 |
braeden |
It uses a 'query language' called CQL |
# |
Jul 6th 2018, 09:39 |
josbeir |
no xp with casandra, is it comparable to elasticsearch or more something like mongodb? |
# |
Jul 6th 2018, 09:38 |
braeden |
I enjoy it in a way, because it forces you to be more exact with your design |
# |
Jul 6th 2018, 09:38 |
josbeir |
dont think of it as denormalization |
# |
Jul 6th 2018, 09:37 |
josbeir |
its just a different mindset |
# |
Jul 6th 2018, 09:37 |
braeden |
They tell you to denormalise everything, which doesn't help my OCD at all |
# |
Jul 6th 2018, 09:37 |
braeden |
data modeling in Cassandra is a pain in the ass, I tell ya |
# |
Jul 6th 2018, 09:36 |
josbeir |
:) |
# |
Jul 6th 2018, 09:36 |
braeden |
:) |
# |
Jul 6th 2018, 09:35 |
neon1024 |
Although we’ve got it covered, https://www.bbc.co.uk/news/uk-england-london-44732754 |
# |
Jul 6th 2018, 09:35 |
braeden |
wait, wasn't it the French that refused his visit? |
# |
Jul 6th 2018, 09:35 |
braeden |
oh he's decided to come over has he? |
# |
Jul 6th 2018, 09:35 |
josbeir |
ba dum ts |
# |
Jul 6th 2018, 09:35 |
neon1024 |
Trump in the UK next week! :( |
# |
Jul 6th 2018, 09:35 |
braeden |
You just made their watch list |
# |
Jul 6th 2018, 09:35 |
neon1024 |
I suppose they’ve already got them though |
# |
Jul 6th 2018, 09:35 |
braeden |
:O |
# |
Jul 6th 2018, 09:35 |
neon1024 |
That does remind me though, I need to email the NSA their account details |
# |
Jul 6th 2018, 09:34 |
braeden |
haha, I know, just playing |
# |
Jul 6th 2018, 09:34 |
neon1024 |
@braeden If you use `varchar(255)` Cake will bake the rule out for you :slightly_smiling_face: |
# |
Jul 6th 2018, 09:34 |
james.phillips |
@bravo-kernel will do sorry if I misled you I didnt notice that bit was wrong... The response look correct so I was happy |
# |
Jul 6th 2018, 09:34 |
braeden |
^__^ |
# |
Jul 6th 2018, 09:34 |
braeden |
255 length password, is this app for the NSA? |
# |
Jul 6th 2018, 09:33 |
bravo-kernel |
@james.phillips :ballot_box_with_check: let us know if you manage to get the response example looking like JSON API |
# |
Jul 6th 2018, 09:32 |
neon1024 |
File uploaded https://cakesf.slack.com/files/U1BT622HW/FBKNTTA68/validation_field_passing_repetition.php / https://slack-files.com/T053DPNCM-FBKNTTA68-afcc380209 |
# |
Jul 6th 2018, 09:31 |
neon1024 |
Validation having to pass the field into every rule feels like a bad api |
# |
Jul 6th 2018, 09:29 |
james.phillips |
@bravo-kernel if the the model and example "model" value matched just the "data" section part i happy, thou im missing the attributes section in mine so I will look at annotaions later if I get time today |
# |
Jul 6th 2018, 09:26 |
lorenzo |
right |
# |
Jul 6th 2018, 09:26 |
k4t |
->filter(...)->first() |