Skip to content

Jarzon/QueryBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Query Builder

WIP

Install

composer require jarzon/querybuilder

Usage

<?php
$query = Jarzon\QueryBuilder::table('users')
  ->select(['name'])
  ->where('id', '<', 30)
  ->where('name', '!=', 'admin');

// $query->getSql() returns:
// SELECT name FROM users WHERE id < 30 AND name != 'admin'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages