php-crud-api
php-crud-api copied to clipboard
Single file PHP script that adds a REST API to a SQL database
Just trying to use crud-api in conjunction with the connection pooler [pgbouncer](https://github.com/pgbouncer/pgbouncer) but not having much success. Can connect PHP to pgbouncer on the new port fine, but crud-api not...
Is it possible to mark a filter as required that the API throws an error when the filter is used but no parameter is given in the request?
Dear mevdschee, is it possible to do this? Otherwise I guess I will have to select and check first which will use more data.
USER TYPES: {"code":9999,"message":"Unsupported type 'ndbooleanf' for driver 'sqlsrv'"} and {"code":9999,"message":"Unsupported type 'dfloat0' for driver 'sqlsrv'"}
See discussion in #663 Maybe we should add a 'validation.decimals' flag to set to either 'string' or 'string,int,float' to accept differrent types as decimals.
I have a table with a tinyint(1) column containing values from 0-2. But all entries are transformed in true/false. I understand why it is transformed into a boolean, because most...
In SQL Server it only shows tables from dbo schema. Is there a way I can work tables from other schemas. Regards,
I want to have the API docs open and visible for everyone, but some endpoints i want to be protected and should show a lock next to it like here...
### Solution to insert in two linked tables through one request I found a solution to insert data in two joined tables in simple FK situation through a transaction with...
As far as I see V2 also supports "or filter groups" via parameter filterX but OpenApi currently displays V1 like "filter" possibility. Would it be possible to implement V2 filterX...