2017 © Pedro Peláez
 

library firebirdclassic

firebird using ibase laravel >= 5.1

image

dayatfadila7/firebirdclassic

firebird using ibase laravel >= 5.1

  • Wednesday, March 29, 2017
  • by dayatfadila
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Firebird Classic

This is a package for firebird laravel >=5.1 using ibase function and that not using pdo because numeric in pdo firebird return random number., (*1)

feature

  • excute query
  • insert
  • update
  • delete

Installation

composer require dayatfadila7/firebirdclassic, (*2)

or add manual in composer.json

```"require": { ..... "dayatfadila7/firebirdclassic": "^1.0" ...... },, (*3)

Next, add your new provider to the providers array of config/app.php: ```'providers' => [ // ... FireBirdClassic\FirebirdClassicServiceProvider::class, // ... ],, (*4)

### How to use it, (*5)

first you must add IbaseQuery namespace use FireBirdClassic\Query\IbaseQuery; than create constructor :, (*6)

public function __construct() { $this->command = new IbaseQuery; }, (*7)

feature ibase query

a. execute for excute query

$this->command->execute($query);, (*8)

example: $query = "SELECT * FROM USER"; $this->command->execute($query);, (*9)

b. create

$this->command->create($table,$data); example : $data = ['USERNAME'=>'Sarah',['PASSWORD']=>'yourname']; $this->command->create('USER',$data);, (*10)

b. update

$this->command->update($>table, $data, $condition) example : $data = ['USERNAME'=>'Sarah',['PASSWORD']=>'yourname']; $condition = ['ID'=>1]; $this->command->update('USER',$data);, (*11)

c. delete

$this->command->delete($table, $condition); example: $condition = ['ID'=>1]; $this->command->update('USER',$condition);, (*12)

note :

$data and $codition is array. for execute sql create,update and delete you must run function execute. example : $command = $this->command->create('USER',$data); $this->command->execute($command);, (*13)

The Versions

29/03 2017

dev-master

9999999-dev

firebird using ibase laravel >= 5.1

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Dayat Fadila

29/03 2017

1.0.0.2

1.0.0.2

firebird using ibase laravel >= 5.1

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Dayat Fadila

29/03 2017

1.0.0.1

1.0.0.1

firebird using ibase laravel >= 5.1

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Dayat Fadila

23/02 2017

1.0.0.0

1.0.0.0

firebird using ibase laravel >= 5.1

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Dayat Fadila