gugusd999/db_query_helper

There is no license information available for the latest version (v0.0.2) of this package.

quick db query

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/gugusd999/db_query_helper

v0.0.2 2024-02-08 08:20 UTC

This package is auto-updated.

Last update: 2025-10-08 12:07:49 UTC


README

this library use for make query from array to insert db and update db. to use this library you can install with composer like this.

composer require gugusd999/db_query_helper

below example to use this library.

<?php
require_once "vendor/autoload.php";

use Gugusd999\DbQueryHelper;
$data = [
    [
        "name" => "jhon",
        "gender" => "man",
        "old" => 37
    ]
];

$insertQuery = ArrayToQuery::insert($data, 'my_table', ['id']);
$updateQuery = ArrayToQuery::update($data, 'my_table', 'id');