Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add union and Async support to MysqliDb.php #785

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vmarci21
Copy link

New:
union()
getSubUnionQuery()
::::
getAsync()
runAsync()

Union usage:
$sub = $db->subQuery();
$sub->get('table');
$db->union($sub);
$db->get('anotherTable');

or:
$sub = $db->subQuery();
$sub->get('table');

$sub2 = $db->subQuery();
$sub2->get('table2');

$db->union($sub);
$db->union($sub2);
$db->getSubUnionQuery();

New:
union()
getSubUnionQuery()
::::
getAsync()
runAsync()

Union usage:
$sub = $db->subQuery();
$sub->get('table');
$db->union($sub);
$db->get('anotherTable');

or:
$sub = $db->subQuery();
$sub->get('table');

$sub2 = $db->subQuery();
$sub2->get('table2');

$db->union($sub);
$db->union($sub2);
$db->getSubUnionQuery();
@VeNoMouS
Copy link

VeNoMouS commented Oct 1, 2018

@vmarci21 just going to leave this here for you mate :)

https://www.php-fig.org/psr/psr-2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants