PHP code example of eden / sql

1. Go to this page and download the library: Download eden/sql library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

eden / sql example snippets


eden('sql')->bind(*string|array|number|null $value);

eden('sql')->collection(array $data);

eden('sql')->getModel('foo', 'foo', $value);

eden('sql')->getRow('foo', 'foo', $value);

eden('sql')->model(array $data);

eden('sql')->setBinds(*array $binds);

eden('sql')->setBinds(array('foo' => 'bar'));

eden('sql')->setRow(*string $table, *string $name, *scalar|null $value, *array $setting);

eden('sql')->setRow('foo', 'foo', $value, array('foo' => 'bar'));