Add support for TRUNCATE TABLE #30

Closed
opened 2019-02-07 23:24:36 +00:00 by jamie · 5 comments
jamie commented 2019-02-07 23:24:36 +00:00 (Migrated from git.hazaar.io)

This should be quite trivial as the SQL is very simple.

TRUNCATE [ TABLE ] [ ONLY ] name [ * ] [, ... ]
    [ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]

We can apply this method to the Hazaar\DBI\DBD\BaseDriver and have hooks into the Hazaar\DBI\Adapter and Hazaar\DBI\Table classes.

This should be quite trivial as the SQL is very simple. ``` TRUNCATE [ TABLE ] [ ONLY ] name [ * ] [, ... ] [ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ] ``` We can apply this method to the `Hazaar\DBI\DBD\BaseDriver` and have hooks into the `Hazaar\DBI\Adapter` and `Hazaar\DBI\Table` classes.
jamie commented 2019-02-07 23:24:42 +00:00 (Migrated from git.hazaar.io)

created merge request !8 to address this issue

created merge request !8 to address this issue
jamie commented 2019-02-07 23:24:42 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !8

mentioned in merge request !8
jamie commented 2019-02-08 00:19:08 +00:00 (Migrated from git.hazaar.io)

closed via commit 7b670708f5

closed via commit 7b670708f5a4d567fcc4590486201df405b66c23
jamie commented 2019-02-08 00:19:08 +00:00 (Migrated from git.hazaar.io)

closed via merge request !8

closed via merge request !8
jamie commented 2019-02-08 00:23:44 +00:00 (Migrated from git.hazaar.io)

mentioned in commit 7b670708f5

mentioned in commit 7b670708f5a4d567fcc4590486201df405b66c23
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-dbi#30
No description provided.