WinDSX DML library

v1.0.0 2017-08-17 01:32 UTC

This package is auto-updated.

Last update: 2024-10-29 05:10:33 UTC


README

Library used to generate WinDSX DML.

Install:

composer require the-sage-colleges/dml-php;

Usage:

<?php

use Sage\DSX\DML;

class foo {
	public function bar() {

        $dml = new DML();

        $dml_cmds = array();
        $dml_cmds[] =  $dml->set_table('users');
        $dml_cmds[] = $dml->set_id('99999000');
        $dml_cmds[] = $dml->cmd_delete();

        $cmd_string = implode("\n", $dml_cmds);

        // Write commands to dsx directory
    }
}