Developer Center

Database Operations

Number of Rows

It is used to get the total number of rows of a table in the database. rowCounter It written as WDB::rowCounter()  It is used after the "BUILD" method. Returns a value of data type "INT" as the return value. Sample PHP Code < ?php $query = WDB::selec...

Exec and Query

EXEC It written as WDB::exec(arg1)  It is used to write "CREATE, ALTER TABLE, DROP" and similar code structures into "arg1". When it runs, it sends a query to the database. Sample PHP Code < ?php $operation = WDB::exec("CREATE table sample1( ...

Table Existence Check

It is the method that checks whether or not a table exists in the database. hasTable It written as WDB::hasTable(arg1)  The table name must be written in "arg1". Returns a value of data type "boolean" as the return value. Sample PHP Code < ?php $oper...

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top