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

refactor: rewrite model (MyModel and MyCRUD) #285

Merged
merged 26 commits into from
Mar 4, 2024

Commits on Feb 18, 2024

  1. refactor: rewrite model

    - merge: MyModel and MyCRUD
    SonyPradana committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    a3b28ac View commit details
    Browse the repository at this point in the history
  2. refator: remove final

    SonyPradana committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    9d8a2f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9487bd0 View commit details
    Browse the repository at this point in the history
  4. test: add TDD

    SonyPradana committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    723b91c View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. feat: add Model:insert

    - Tests: 56, Assertions: 7, Skipped: 49
    SonyPradana committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    a86f5ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8da79e2 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. feat: add Model::firstColumn

    - Tests: 56, Assertions: 13, Skipped: 45.
    SonyPradana committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    45dd40a View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. refactor: use where condition in hasOne hasMany

    - Tests: 56, Assertions: 17, Skipped: 42
    SonyPradana committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    97262b4 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. refactor: Model::getter get from first column

    - Tests: 56, Assertions: 22, Skipped: 37
    SonyPradana committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    c10e929 View commit details
    Browse the repository at this point in the history
  2. feat: Model support array access

    - Tests: 58, Assertions: 30, Skipped: 32
    SonyPradana committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    3c7a6de View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. feat: add Model::find, Model::where

    - add costume where `Query::whereBinds`
    - Tests: 59, Assertions: 33, Skipped: 30
    SonyPradana committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    a1fbe43 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. Configuration menu
    Copy the full SHA
    b81b0b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01b14fb View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    c4328e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be435c9 View commit details
    Browse the repository at this point in the history
  3. feat: add Model::equal find using equal

    - Tests: 60, Assertions: 34, Skipped: 30
    SonyPradana committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    448489b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    abe3ea5 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. test: multy rows model test

    - Tests: 67, Assertions: 66, Skipped: 11
    SonyPradana committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    4914259 View commit details
    Browse the repository at this point in the history
  2. refactor, feat: upstream update and delete

    - `Collection` upstream update and delete
    - add `Model::getPrimeryKey()`, `Model::isExist()`, `Model::findOrCreate`
    - change visibility `Model::$where` to be `protected`
    - 68 tests, 95 assertions
    SonyPradana committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    8d4061c View commit details
    Browse the repository at this point in the history
  3. refactor: rename class

    SonyPradana committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    ce5b2fb View commit details
    Browse the repository at this point in the history
  4. formatting: phpstan

    SonyPradana committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    1b73981 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. feat: add costume sort order, limit and offset

    - 71 tests, 98 assertions)
    SonyPradana committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    9d580b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e522037 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    be75022 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. Configuration menu
    Copy the full SHA
    5a61a0f View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. doc: change doc

    SonyPradana committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    9d05992 View commit details
    Browse the repository at this point in the history