sofiakb/php-database-nosql

A library to use nosql database

dev-main 2021-09-02 00:00 UTC

This package is auto-updated.

Last update: 2024-04-06 17:26:42 UTC


README

Contributors Forks Stargazers Issues MIT License


php-database-nosql

A PHP Library for detect OS System !
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About the library
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Library

The library allows to detect os system in PHP project.

Built With

This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

Prerequisites

  • php >= 7.4

Installation

composer require sofiakb/php-database-nosql

Usage

//use Sofiakb\DetectOS\System;

use Sofiakb\Database\NoSQL\Model;

Model::insert(['name' => 'toto']);
Model::insert([['name' => 'toto'], ['name' => 'titi']]);

Model::where('name', 'toto')->get();
Model::where('name', 'toto')->first();
Model::where('name', '=', 'toto')->first();
Model::whereName('toto')->get();

Model::count();
Model::first();
// etc...

Model::updateBy(['name' => 'tata'], 'name', '=', 'toto');
Model::whereName('toto')->update(['name' => 'tata']);

Model::deleteBy('name', 'toto');
Model::whereName('toto')->delete();

Roadmap

See the open issues for a list of proposed features (and known issues).

License

Distributed under the MIT License. See LICENSE for more information.