Download the PHP package chamamme/noquery without Composer

On this page you can find all versions of the php package chamamme/noquery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package noquery

NoQuery

NoQuery is a php query builder running on ADODB library. It is aimed at making database interactions easier with less codes. NoQuery currently supports MySQL, Firebird-Interbase, PostgreSQL, SQLite3, Oracle, Microsoft SQL Server, Foxpro ODBC, Access ODBC, Informix, DB2, Sybase, Sybase SQL Anywhere, generic ODBC and Microsoft's ADO due its leverage on ADODB.

Installation

 > composer require chamamme/noquery

Configuration

NoQuery requires a configuration array. A typical configuration looks like

Usage

It all starts with an instance of Tablet class which requires a configuration array variable.

Now we are ready to interact with our database.

Methods

Name Params (Type) Description Example
table table (string) Tells orcons-db the database table to interact with. table('users')
select columns (array) Performs a select query. select(['name','age'])
update args (array) Performs an UPDATE statement . update(['name'=>'Andrew','age'=>10])
where conditions (array) Adds an where clause to sql statement where(["name = 'Chamamme'])
orWhere conditions (array) Adds an OR clause to sql statement orWhere([age = 25])
whereIn column (string) , conditions (array) Adds an WHERE IN clause to sql statement whereIn('age',[ 25 , 6 , 8 ])
whereNotIn column (string) , conditions (array) Adds an WHERE NOT IN clause to sql statement whereNotIn('age',[ 25 , 6 , 8 ])
whereBetween column (string) , conditions (array) Adds an BETWEEN clause to sql statement whereBetween('age',[ 18 ,19 ])
orWhereIn conditions (array) Adds an OR IN clause to sql statement orWhereIn(['name'=>'Andrew','age'=>25])
get limit (int), offset (int) Executes the sql statement get() or get(0,10)
run Executes the sql statement run()
toSql returns the final sql statment toSql()

Sample


All versions of noquery with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
adodb/adodb-php Version 5.20.9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package chamamme/noquery contains the following files

Loading the files please wait ....