Skip to content

common db CRUD functions #19

@MissAllSunday

Description

@MissAllSunday

Add some methods for common db CRUD functions, an example: https://github.com/MissAllSunday/Breeze/blob/develop/Sources/Breeze/BreezeQuery.php#L1089 of course way more generic. Perhaps adding a "db" property to specify your table schema:

$_dbSchema = array(
	'table1' => array(
		'column1' => 'type',
		'column2' => 'int',
		'column3' => 'string',
	),
	'table2' => array(
		'column1' => 'type',
		'column2' => 'int',
		'column3' => 'string',
	),
);

Or just let you specify your table but that means adding more params to each function which kinda defeats the purpose of having helper functions in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions