Category Archives: 默写

add New Repo https://github.com/firedtoad/AstarDemo https://github.com/firedtoad/cppbenchmark

Posted on by toad, die | Leave a comment

爸爸的故事:“从前有个爸爸,爸爸有个宝宝,宝宝有个妹妹,宝宝不听话,宝宝不会自己吃饭,宝宝不会写作业。” 宝宝的故事:“从前有个宝宝,宝宝有个爸爸,宝宝有个妹妹,爸爸不听话,爸爸出门上班很久很久都不回家。”

Posted on by toad, die | Leave a comment
Posted on by toad, die | Leave a comment

说说回忆

Seeing female pig climb the tree home! Personals Condition 1.female 2.coarse legs 3.breast-feeding 4.eat less

Posted in 默写 | Leave a comment

大学

Posted in 默写 | Leave a comment

隆中对

Posted in 默写 | Leave a comment

为将-气曹真

Posted in 默写 | Leave a comment

退秦师

Posted in 默写 | Leave a comment

八佾

Posted in 默写 | Leave a comment

入门者学

Posted in 默写 | Leave a comment

泰伯

Posted in 默写 | Leave a comment

学而

Posted in 默写 | Leave a comment

为政

Posted in 默写 | Leave a comment

乡党

Posted in 默写 | Leave a comment

先进

Posted in 默写 | Leave a comment

宪问

Posted in 默写 | Leave a comment

大师兄

Posted in 默写 | Leave a comment

公冶长

Posted in 默写 | Leave a comment

雍也

Posted in 默写 | Leave a comment

子罕

Posted in 默写 | Leave a comment

季路

Posted in 默写 | Leave a comment

ORM设计

首希望本文的读者拥有一定的ORM框架设计经验,或者熟悉ORM原理,最好是自己动手实现过ORM映射 如果没有请参考Doctrine或者Zend DB实现 在传统的ORM框架中都会有这样一个需求:”将一个一维数组或二维数组插入或替换到数据库中” 关于一维数组的处理这里不讨论,这里只关心二维数组 如下一个二维数组(这里使用php编码比较通俗易懂),假设某张表有三个字段 a,b,c $arr=array( array( ‘a’=>1, ‘b’=>2, ), array( ‘a’=>3, ‘b’=>4, ) ); 这种数组每一维键和键顺序完全相同 只要取出第一维键值作为 INSERT INTO `table_name`(#####) 括号里的键值 然后把所有维的值拼起来作为 VALUES部分就解决了,问题是不是所有程序员都会遵循使用规则,有可能传给你一个这样的数组 $arr=array( array( ‘a’=>1, ‘b’=>2, ), array( ‘a’=>3, ‘b’=>4, ‘c’=>5, ) ); 这样就会导致那个SQL初学者常见的columns does not match … Continue reading

Posted in 默写 | Leave a comment