# |
Sep 4th 2019, 23:12 |
challgren |
I’ll open a ticket |
# |
Sep 4th 2019, 23:08 |
dereuromark |
you can open ticket on the missed ones, which ones would those be? some code snippets please |
# |
Sep 4th 2019, 23:08 |
dereuromark |
token list can only do so much ;) you can add AST if you want |
# |
Sep 4th 2019, 23:06 |
challgren |
And a few missed vars on templates |
# |
Sep 4th 2019, 23:03 |
challgren |
Quite a bit of mixed annotations added |
# |
Sep 4th 2019, 22:54 |
challgren |
O_o |
# |
Sep 4th 2019, 22:43 |
dereuromark |
I released the new template var collection feature after some edge case fixing: https://github.com/dereuromark/cakephp-ide-helper/releases/tag/0.13.19 Enjoy your new IDE experience. |
# |
Sep 4th 2019, 21:45 |
ashish_onmobile |
any idea how to give permission to php bin/cake.php server so it will upload the code. |
# |
Sep 4th 2019, 21:45 |
ashish_onmobile |
one of function from php move_uploaded_file() does not work and not able to write file |
# |
Sep 4th 2019, 21:45 |
ashish_onmobile |
when i run php bin/cake.php server in my macbook |
# |
Sep 4th 2019, 21:44 |
ashish_onmobile |
Hi Friends I need on small help. |
# |
Sep 4th 2019, 19:52 |
ricksaccous |
would it be worth refactoring my application and sticking these options into a table of their own |
# |
Sep 4th 2019, 19:51 |
ricksaccous |
and being set in the entity or something |
# |
Sep 4th 2019, 19:51 |
ricksaccous |
via beforeMarshal |
# |
Sep 4th 2019, 19:51 |
ricksaccous |
I could just make it a comma delimited list I suppose that mimicks multiselect data maybe |
# |
Sep 4th 2019, 19:50 |
ricksaccous |
how would you save the data? |
# |
Sep 4th 2019, 19:50 |
ricksaccous |
if you wanted to give the user the option of a multiselect that wouldn't be related to another table, just other options |
# |
Sep 4th 2019, 19:37 |
rightscoreanalysis |
..nevermind I figured the issue :slightly_smiling_face: |
# |
Sep 4th 2019, 19:36 |
rightscoreanalysis |
is anyone familiar with TinyAuth |
# |
Sep 4th 2019, 17:45 |
ricksaccous |
actually you wouldn't need to define the schema since cake can use cake magic to know the schema |
# |
Sep 4th 2019, 17:44 |
ricksaccous |
maybe write a behavior/class that you can feed the table name, where it defines the schema and that you can also feed the connection name to, maybe that would work? |
# |
Sep 4th 2019, 17:43 |
itmpls |
(I think . mark storys sharding articlel isn't exactly what I'm looking for) |
# |
Sep 4th 2019, 17:42 |
itmpls |
has anyone have experience with writing an abstraction . layer to pull data from multiple databases based on the table name? the schema is the same, think of it as pulling . from shards |
# |
Sep 4th 2019, 17:39 |
neon1024 |
It’s one of those things where I think I know, but when I consider it I’m unsure of myself ;) |
# |
Sep 4th 2019, 17:38 |
neon1024 |
I guess an example might be searching for a person, you may union Customers and Users |
# |
Sep 4th 2019, 17:38 |
neon1024 |
At least, that’s my understanding! |
# |
Sep 4th 2019, 17:37 |
ricksaccous |
i seee |
# |
Sep 4th 2019, 17:37 |
neon1024 |
That would work if there is an association, often a union might not contain data from associated tables. Such as in a global search, but for that usually you’d use something like Elasticsearch |
# |
Sep 4th 2019, 17:36 |
ricksaccous |
on whatever you need to be unique |
# |
Sep 4th 2019, 17:36 |
ricksaccous |
you could just do innerjoinwith can't you and then use the proper distinct/groupBy |
# |
Sep 4th 2019, 17:36 |
neon1024 |
I’ve never found a need to use it, ever, which is why I was curious that @lilhermit would want to use it |
# |
Sep 4th 2019, 17:36 |
ricksaccous |
oh |
# |
Sep 4th 2019, 17:35 |
neon1024 |
Rather like a cross join would |
# |
Sep 4th 2019, 17:35 |
neon1024 |
@ricksaccous Union will join the results of two queries into a single resultset |
# |
Sep 4th 2019, 17:13 |
ricksaccous |
why don't you just innerjoinwith and distinct, what does union even do, man i'm so bad at sql |
# |
Sep 4th 2019, 16:39 |
jotpe |
@alexdd55976 I don't know if this helps you, but for my purpose it is working : https://gist.github.com/julianpollmann/bd2dc4c8092d3d416f5a7bdc8ea68342 |
# |
Sep 4th 2019, 16:20 |
lilhermit |
I need to wrap that `$query` but for the life of me I can't get it to work |
# |
Sep 4th 2019, 16:20 |
lilhermit |
https://pastebin.com/4SNWVG8V |
# |
Sep 4th 2019, 16:16 |
lilhermit |
lol |
# |
Sep 4th 2019, 16:12 |
neon1024 |
I certainly wouldn’t have appreciated a large flood of code in a PM |
# |
Sep 4th 2019, 16:12 |
neon1024 |
You could share your code using a Gist or Pastebin and share the link |