Skip to content

Write and WriteFormatted should be merged into the same method. #62

@nilportugues

Description

@nilportugues

The new write method should have:

public function write($query, $formatted = false);

Under the hood, it should call writeRaw (v1 write function) or writeFormatted (same as v1).

public function writeRaw(QueryInterface $query, $resetPlaceholders = true);
public function writeFormatted(QueryInterface $query);

An example of a function behaving like this is json_decode($value, JSON_PRETTY_PRINT);

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions