Please note that function returns SQL query only for debugging purposes as its execution most likely will fail due missing quotes around char variables.
Please note that function returns SQL query only for debugging purposes as its execution most likely will fail due missing quotes around char variables.
```php
```php
$db->get('users');
$db->get('users');
echo "Last executed query was ". $db->getLastQuery();
echo "Last executed query was ". $db->getLastQuery();
```
```
Check if table exists:
```php
if ($db->tableExists ('users'))
echo "hooray";
```
### Transaction helpers
### Transaction helpers
Please keep in mind that transactions are working on innoDB tables.
Please keep in mind that transactions are working on innoDB tables.