Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Postgres schema
Post: Postgres schema

How add schama in migration  $this->db->schama not work. Add schama name to table name "test.prod" gives error becouse  CONSTRAINT "pk_test"."name" PRIMARY KEY("name") PHP Code: -- class AddPro...
501 Views
0 Replies
02-01-2021, 05:08 AM
okatse
    Thread: Events::on('DBQuery')
Post: RE: Events::on('DBQuery')

Modify all methods present and all future ones - to delete one field ??? One event that makes sure that such a field is not returned in any method is better
966 Views
2 Replies
01-20-2021, 09:48 AM
okatse
    Thread: queryBuilder + getFieldNames
Post: RE: queryBuilder + getFieldNames

Thank you - I don't know why I didn't notice it before
898 Views
2 Replies
01-16-2021, 05:07 AM
okatse
    Thread: Model + Services
Post: Model + Services

Documentation says Quote: -- It is recommended to only create services within controllers. Other files, like models and libraries should have the dependencies either passed into the constructo...
1,228 Views
1 Replies
01-15-2021, 10:06 AM
okatse
    Thread: Events::on('DBQuery')
Post: Events::on('DBQuery')

Hi  When the system executes a query I want to parse the query and modify it. I want to create a BeforeExecuteQuery method or event.  An example:  The users => ID, Name, Password table  P...
966 Views
2 Replies
01-14-2021, 12:33 AM
okatse
    Thread: queryBuilder + getFieldNames
Post: queryBuilder + getFieldNames

Hi  This works fine  PHP Code: -- $db  = \Config\Database::connect();       $r = $db->query("select * from table");       $fn = $r->getFieldNames();       var_dump($fn); -- But how to bring ...
898 Views
2 Replies
01-13-2021, 05:21 AM
okatse

Theme © iAndrew 2016 - Forum software by © MyBB