Comments (6)
echo $db->makeQuery("?c", array(array(
'table' => 'not_users',
'db' => 'not_public',
'col' => array('public', 'users', 'id'),
'as' => 'public.users'
)));
// Выводит "not_public"."not_users"."public"."pre_users"."id" AS "public.users"
С комбинированием chain и именованными параметрами непонятно что делать. Перезатирать db? кидать ошибку? ничего не делать? :)
from go-db.
ну, либо использовать именованный, либо массив.
а если и то и то, я их просто вместе в одну цепочку объединяю и не заморачиваюсь.
какие тут могут быть потенциальные проблемы?
from go-db.
Единственную проблему что могу "высосать из пальца": не зная реализации будет непонятно откуда появился лишний сегмент.
Потенциально серьезных проблем я тут не вижу. Лучше наверное не перезатирать, пусть падает.
from go-db.
@vasa-c, пользуясь случаем хочу поздравить тебя с днем рождения и пожелать всяческих успехов, а твоему goDB и unicode-table мирового господства!
🎂
from go-db.
@apolev. Спасибо, Лёша!
Но почему ты не использовал символ торта, взятый с unicode-table? :)
from go-db.
А откуда по твоему я его взял? :-) Это уже слишком умный GitHub конвертирует в картинки.
from go-db.
Related Issues (20)
- Расширенный ?where HOT 2
- Расширенный ?set HOT 7
- table->join() HOT 1
- Chain db.table.col for ?t and ?c
- English wiki
- Travis-ci
- Проверить clone + preQueries
- DataInvalidFormat
- Extended Table format HOT 1
- autoreplace {} (Even if there is no prefix) HOT 7
- Ошибки по исключению не передаются HOT 1
- Use prefix for fake db
- [Предложение] Подставлять в запрос значния соотвествующие типу значений в php. (Модификтор auto?) HOT 3
- WHERE list and NULL
- where now() HOT 2
- Проблемка с ?order, больше 1 поля HOT 2
- WHERE при использовании JOIN HOT 4
- Unexpected behavior that can corrupt application data HOT 2
- Повторное использование подключение HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-db.