ClanCats / Hydrahon

🐉 Fast & standalone PHP MySQL Query Builder library.
https://clancats.io/hydrahon/master/
MIT License
278 stars 58 forks source link

Method 'table' not found in ClanCats\Hydrahon\Builder #55

Open mahdiazarm opened 3 years ago

mahdiazarm commented 3 years ago

Hi I'm not sure if I'm doing something wrong or not but I get this error In Phpstorm and PHP error log. Also, I searched the Builder.php file and found no reference to the table function inside it. Please tell me what to do Thanks.

KarelWintersky commented 2 years ago

same issue.

package looks like useless

marek-hanzal commented 2 years ago

There would be problem somewhere else:

And for the final: yes, if there is wrong class inside, it could be the library's bug. Have you tried some debugging before?

KarelWintersky commented 2 years ago

https://github.com/envms/fluentpdo - is more useful SQL builder.

marek-hanzal commented 2 years ago

It's opinion based - when I was looking for one, this (hydrahon) was best for me as it has very nice "where" (and the other) API; for me much better than for example one you mentioned; I don't like to write sql fragments in where like they'we or "manual" joins and so on. In this case (and for me) Hydrahon wins.

Also keep in mind that dudes around here and there put a lot of time and mind effort to create some library with as good API as they can, so saying "package is useless" is quite rude. From the other side, you can say, hey, I like the API of that library, looks good.