Skip to content

Commit

Permalink
Release/1.1.0 (#91)
Browse files Browse the repository at this point in the history
* Query: non-functional clean-up.

This change normalizes a bunch of variable names, docs, punctuation, and aliased functions (like join vs implode) - consistency!

* Query: add copy_item() method. (#89)

This change introduces a way to allow for copying an existing item/Row in the database, with the option to override that data via the $data parameter.

The goal of including this method as a low-level API is to reduce the amount of code necessary to support this action higher up in the application layer (global functions, etc...)

* Table: fix format of query inside index_exists(). (#90)

This change prevents quotes around the $column value by not preparing it, and also by making sure its value is only 1 of 2 intended columns: Key_name and Column_name.

This fixes incorrectly generated SQL, allowing this method to function as intended instead of incorrectly returning no results.

Props @ashleyfae. Fixes #87.
  • Loading branch information
JJJ authored Feb 23, 2021
1 parent b46689f commit 20d2542
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 94 deletions.
Loading

0 comments on commit 20d2542

Please sign in to comment.