Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
BulkUpdates Class Reference

Ubiquity\orm\bulk$BulkUpdates This class is part of Ubiquity. More...

+ Inheritance diagram for BulkUpdates:

Public Member Functions

 __construct ($className)
 
 addInstance ($instance, $id=null)
 
 createSQL ()
 
 groupOp ($count=5)
 
- Public Member Functions inherited from AbstractBulks
 addInstances ($instances)
 
 addInstance ($instance)
 
 flush ()
 
 clear ()
 Remove all instances and parameters from this bulk.
 
 count ()
 Count all elements in instances to be flush.
 

Private Member Functions

 pgCreate ()
 
 mysqlCreate ()
 
 getUpdateFields ()
 

Private Attributes

 $sqlUpdate = [ ]
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractBulks
 getQuotedKeys ($fields, $quote)
 
 updateInstanceRest ($instance)
 
 execGroupTrans ($sql)
 
- Protected Attributes inherited from AbstractBulks
 $class
 
 $pkName
 
 $fields
 
 $tableName
 
 $db
 
 $instances = [ ]
 
 $parameters
 
 $dbType
 
 $insertFields
 
 $memberNames
 

Detailed Description

Ubiquity\orm\bulk$BulkUpdates This class is part of Ubiquity.

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.3

Definition at line 15 of file BulkUpdates.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $className)

Reimplemented from AbstractBulks.

Definition at line 18 of file BulkUpdates.php.

Member Function Documentation

◆ addInstance()

addInstance (   $instance,
  $id = null 
)

Definition at line 23 of file BulkUpdates.php.

◆ createSQL()

createSQL ( )

Reimplemented from AbstractBulks.

Definition at line 29 of file BulkUpdates.php.

◆ getUpdateFields()

getUpdateFields ( )
private

Definition at line 85 of file BulkUpdates.php.

◆ groupOp()

groupOp (   $count = 5)

Definition at line 94 of file BulkUpdates.php.

◆ mysqlCreate()

mysqlCreate ( )
private

Definition at line 67 of file BulkUpdates.php.

◆ pgCreate()

pgCreate ( )
private

Definition at line 40 of file BulkUpdates.php.

Field Documentation

◆ $sqlUpdate

$sqlUpdate = [ ]
private

Definition at line 16 of file BulkUpdates.php.


The documentation for this class was generated from the following file: