ardent
ardent copied to clipboard
Extends Model but not Eloquent
Eloquent class extends Model , and provided where() and find() static methods, for object queries, why Ardent not extending from it, but extending from Model?
This is by design? or i need to know some?
Ok i found find() method, and where is where() method for query ??
Check app/config/app.php in aliases. the shortened Eloquent class is \Illuminate\Database\Eloquent\Model by default.
Ardent doesn't support protected $table = 'table1'; as it doesn't extend eloquent. Its giving me issues as it is not respecting the table property and is trying to store the model data in the wrong table.
@casoetan It extends Illuminate\Database\Eloquent\Model which is aliased in Laravel by default to Eloquent, so it should certainly support Eloquent logic.
@impleri please ignore [oversight] Thanks