To make relationship between users was created a table that looks like. sql CREATE TABLE `friends`( `from` INT NOT NULL,
NOTE: This question refers to Kohana 3.0 only.Kohana 3.1 and newer handle validation callbacks in a completely different way.
I\'d like to make select this way select from post where sha1(id)=$id; So I thought this could be in KO3 ORM somethink like:
<?php class Model_Cliente extends ORM { protected $_table_name = \'clientes\'; protected $_primary_key = \'id\';
Sorry to ask all these questions about Kohana. They usually get ignored. I think I just found a bug. I\'m making a join between two tables that are not directly related.
Can you advise on how to resolve the following error开发者_开发百科: ErrorException [ Fatal Error ]: Cannot use object of type Model_Branch as array
I\'m using Kohana 3.x for about a month now, I am pretty happy so far. But recently a friend of mine recommended the Propel-ORM to me. Has anybody experience with both the Kohana ORM and Propel ORM? I
In my ORM model, I\'d like to save some 开发者_开发知识库default values which are calculated based on other values. The best I could come up with is:
In my application i have a loop that executes about 1000 times, inside it i\'m creating object and saving it. This is the part of application where i populate my database with data. In common this loo
taxonomies -id -name taxonomy_type -taxonomy_id -type_id I\'ve configured two models: class Model_Taxonomy{