Skip to content

New approach to do the same #23

Description

@forceedge01

The learning curve is high due to a lot of magic that appears to happen. Make it simpler, perhaps using the more traditional ways of coding up i.e Object oriented objects:

(new Fixture(User::class))->insert(...)->unique(...)->make();
(new Insert(User::class))->insert(...)->exec();
(new Select(User::class))->select(...)->where(...)->exec();
(new Delete(User::class))->where(...)->exec();
(new Update(User::class))->update(...)->where(...)->exec();

Give convenience calls such as disableDefaults(...) on this API.
Also somehow facilitate failures more - perhaps display all queries executed for that scenario up til that point.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions